in this article we compare different conditions on abelian schemes with real multiplication which occur in the integral models of the hilbert–blumenthal shimura variety considered by rapoport, deligne, pappas and kottwitz. we show that the models studied by deligne/pappas and kottwitz are isomorphic over $\mathrm{spec}\mathbb{z}_{(p)}$. we also examine the associated local models and prove that they are equal.