Skip to content

Failed

tests / 05 testsuite-clang 2/3 / openmodelica_cruntime_optimization_benchmark.runReduceDrumBoiler.mos (from (result.xml))

Failing for the past 44 builds (Since #1 )
Took 2 min 9 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + ReduceDrumBoiler                                                                  ... equation mismatch [time: 129]

==== Log /tmp/omc-rtest-unknown/openmodelica/cruntime/optimization/benchmark/runReduceDrumBoiler.mos_temp2372/log-runReduceDrumBoiler.mos
true
""
true
""
true
""
record SimulationResult
    resultFile = "drumBoiler.optDrumBoiler_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 3600.0, numberOfIntervals = 50, tolerance = 1e-4, method = 'dassl', fileNamePrefix = 'drumBoiler.optDrumBoiler', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_IPOPT_ERROR -optimizerNP 1 -s optimization'",
    messages = "LOG_ASSERT        | warning | [openmodelica/cruntime/optimization/benchmark/DrumBoiler.mo:148:4-148:63:writable]
|                 | |       | The following assertion has been violated at time 0.000000
|                 | |       | ((der_evaporator_p >= 0.0 and der_evaporator_p <= 32000.0)) --> \"Variable violating min/max constraint: 0.0 <= der_evaporator_p <= 32000.0, has value: -9.57311\"
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.

Optimizer Variables
========================================================
State[0]:controller.x(start = 0, nominal = 10, min = -Inf, max = +Inf, init = 0)
State[1]:evaporator.V_l(start = 67, nominal = 68, min = -Inf, max = +Inf, init = 67)
State[2]:evaporator.p(start = 100000, nominal = 1e+06, min = 611.657, max = 1e+08, init = 100000)
State[3]:q_F(start = 0, nominal = 400, min = 0, max = 500, init = 0)
Input[4]:Y_Valve(start = 0.5, nominal = 1, min = 0, max = 1)
Input[5]:dq_F(start = 0.1, nominal = 0.416667, min = -0.416667, max = 0.416667)
--------------------------------------------------------
number of nonlinear constraints: 1
========================================================

******************************************************************************
This program contains Ipopt, a library for large-scale nonlinear optimization.
 Ipopt is released as open source code under the Eclipse Public License (EPL).
         For more information visit https://github.com/coin-or/Ipopt
******************************************************************************

LOG_IPOPT_ERROR   | info    | max violation is 2.49596 for the constraint $con$conSigma.con(time = 936)
LOG_IPOPT_ERROR   | info    | max violation is 159.505 for the constraint $con$conSigma.con(time = 1368)
LOG_IPOPT_ERROR   | info    | max violation is 157.079 for the constraint $con$conSigma.con(time = 1368)
LOG_IPOPT_ERROR   | info    | max violation is 138.617 for the constraint $con$conSigma.con(time = 1368)
LOG_IPOPT_ERROR   | info    | max violation is 58.0565 for the constraint $con$conSigma.con(time = 1368)
LOG_IPOPT_ERROR   | info    | max error is 0.545275 for the approximation of the state evaporator.p(time = 1368)
LOG_IPOPT_ERROR   | info    | max violation is 36.0501 for the constraint $con$conSigma.con(time = 1080)
LOG_IPOPT_ERROR   | info    | max error is 0.0412625 for the approximation of the state evaporator.p(time = 1224)
LOG_IPOPT_ERROR   | info    | max error is 0.0203336 for the approximation of the state evaporator.p(time = 3600)
LOG_IPOPT_ERROR   | info    | max error is 0.00282562 for the approximation of the state evaporator.p(time = 3600)
LOG_IPOPT_ERROR   | info    | max error is 0.00171499 for the approximation of the state evaporator.p(time = 3600)
LOG_IPOPT_ERROR   | info    | max error is 0.00131765 for the approximation of the state evaporator.p(time = 3600)
LOG_IPOPT_ERROR   | info    | max error is 5.01892e-05 for the approximation of the state evaporator.p(time = 1224)
LOG_IPOPT_ERROR   | info    | max error is 3.24251e-06 for the approximation of the state evaporator.p(time = 1224)
LOG_IPOPT_ERROR   | info    | max violation is 1.47354e-06 for the constraint $con$conSigma.con(time = 216)
LOG_IPOPT_ERROR   | info    | max violation is 1.48405e-06 for the constraint $con$conSigma.con(time = 216)
LOG_IPOPT_ERROR   | info    | max violation is 1.49979e-06 for the constraint $con$conSigma.con(time = 216)
LOG_IPOPT_ERROR   | info    | max violation is 1.49983e-06 for the constraint $con$conSigma.con(time = 216)
LOG_IPOPT_ERROR   | info    | max violation is 1.5e-06 for the constraint $con$conSigma.con(time = 360)
LOG_IPOPT_ERROR   | info    | max violation is 1.5e-06 for the constraint $con$conSigma.con(time = 216)
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
"Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
"
{"Files Equal!"}
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/openmodelica/cruntime/optimization/benchmark/runReduceDrumBoiler.mos_temp2372/equations-expected2024-01-13 02:52:02.800330164 +0000
+++ /tmp/omc-rtest-unknown/openmodelica/cruntime/optimization/benchmark/runReduceDrumBoiler.mos_temp2372/equations-got2024-01-13 02:54:11.699464348 +0000
@@ -4,11 +4,11 @@
 ""
 true
 ""
 record SimulationResult
 resultFile = "drumBoiler.optDrumBoiler_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 3600.0, numberOfIntervals = 50, tolerance = 0.0001, method = 'dassl', fileNamePrefix = 'drumBoiler.optDrumBoiler', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_IPOPT_ERROR -optimizerNP 1 -s optimization'",
+simulationOptions = "startTime = 0.0, stopTime = 3600.0, numberOfIntervals = 50, tolerance = 1e-4, method = 'dassl', fileNamePrefix = 'drumBoiler.optDrumBoiler', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv=LOG_IPOPT_ERROR -optimizerNP 1 -s optimization'",
 messages = "LOG_ASSERT        | warning | [openmodelica/cruntime/optimization/benchmark/DrumBoiler.mo:148:4-148:63:writable]
 |                 | |       | The following assertion has been violated at time 0.000000
 |                 | |       | ((der_evaporator_p >= 0.0 and der_evaporator_p <= 32000.0)) --> \"Variable violating min/max constraint: 0.0 <= der_evaporator_p <= 32000.0, has value: -9.57311\"
 LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 
@@ -47,11 +47,11 @@
 LOG_IPOPT_ERROR   | info    | max violation is 1.47354e-06 for the constraint $con$conSigma.con(time = 216)
 LOG_IPOPT_ERROR   | info    | max violation is 1.48405e-06 for the constraint $con$conSigma.con(time = 216)
 LOG_IPOPT_ERROR   | info    | max violation is 1.49979e-06 for the constraint $con$conSigma.con(time = 216)
 LOG_IPOPT_ERROR   | info    | max violation is 1.49983e-06 for the constraint $con$conSigma.con(time = 216)
 LOG_IPOPT_ERROR   | info    | max violation is 1.5e-06 for the constraint $con$conSigma.con(time = 360)
-LOG_IPOPT_ERROR   | info    | max violation is 1.5e-06 for the constraint $con$conSigma.con(time = 288)
+LOG_IPOPT_ERROR | info    | max violation is 1.5e-06 for the constraint $con$conSigma.con(time = 216)
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
 "Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
 "

Equation mismatch: omc-diff says:
------------------------------------------------------------------------------------------------------------------Line 52: Integer 288 != 216

== 1 out of 1 tests failed [openmodelica/cruntime/optimization/benchmark/runReduceDrumBoiler.mos_temp2372, time: 129]