A physics-based domain adaptation framework for modelling and forecasting building energy systems