Your question is surprisingly difficult to answer. Energy expenditure has been measured in a variety of ways, but to do it accurately is not straightforward (here is a description of the different techniques). The calories burned whilst suffering different respiratory conditions has been calculated (e.g. in cystic fibrosis) and is quite considerable. However, when fighting off an infection, the body is using energy to power both the immune system and for coughing.