What property did you check?
The tutorial and the model are clearly meant for SMC queries, therefore please try "simulate [<=10] { x, y, delay}" or "E[<=10](max: delay)" or similar to inspect the generated values.
I cannot see the implementation of f(), but if you are trying Gaussian distribution, then the values of delay may in principle extend to both infinities and it may fail the invariant y<=delay, where y:=1 and delay<1 (provided that f() has no protection and can generate such values).
Note that the symbolic engine (simbolic simulator and queries like E<>, A[] etc) disables the floating point operations, and the example seem to depend on the floating point operations in invariant, i.e. it is not a simple cost function, thus it cannot work. Especially the random functions cannot work, because they act as hidden non-determinism.
The cost function pattern detection is not implemented thus Uppaal simply allowes it without warning -- we are working on that.
Best regards,
Marius