Display statements are failing to execute

why the display statements in data_compare.sv are failing to execute? can anyone explain?

Often individual simulators have bugs. I would recommend testing with the other simulators on EDA Playground to see if you get different results.