HP-Filtered simulation of log-linearized model

It’s not about the mean, but the frequency components. If you consider your model to be the data generating process that created the empirical data, then a meaningful comparison involves using the same filter for both the model and the data.
But there is an alternative approach that wants the DGSE model to just replicate the filtered data.
See e.g.