Modelling the occupancy of buildings, rooms or the usage of machines has many applications in varying elds, exemplied by the fairly recent emergence of smart, self-learning thermostats. Typically, the aim of such systems is to provide insight into user behaviour and incentivise energy savings or to automatically reduce consumption while maintaining user comfort. This paper presents a non-parametric user activity modelling algorithm, i.e. a Dirichlet process mixture (DPM) model, implemented by Gibbs sampling and the stick-breaking process, to infer the underlying patterns in user behaviour from the data. The technique deals with multiple activities, such as , of multiple users. Furthermore, it can also be used for modelling and predicting appliance usage (e.g. ).The algorithm is evaluated, both on cluster validity and predictive performance, using three case studies of varying complexity. The obtained results indicate that the method is able to properly assign the activity data into welldened clusters. Moreover, the high prediction accuracy demonstrates that these clusters can be exploited to anticipate future behaviour, facilitating the development of intelligent building management systems.