Starting with Gurobi Optimizer 9.0, log files contain a model fingerprint:
Model fingerprint: 0xc4a5089f
Two models have the same fingerprint if and only if they are exactly the same. If you solve two models with the same model fingerprint on the same platform using the same Gurobi parameter settings, then the solution path will be the same. This means that Gurobi will explore the same number of nodes, use the same number of simplex iterations, etc. Note that for two models to be identical, the constraints and variables must be in the same order.
The fingerprint can be used to confirm that you are solving the same model. If two models don't produce the same output, it is often because the models are different in some way. This can occur if the code to create or write the model is non-deterministic.