The impact of indoor thermal conditions, system controls and building types on the building energy demand