Venting flat roof with two thermal boundaries