On the cohomology of Kottwitz’s arithmetic varieties