Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.898/2.898, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 67.89 kB / 1.107 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194/1.196, allocations: 168.7 MB / 1.272 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.2086/1.405, allocations: 136 MB / 1.405 GB, free: 4.219 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01063/1.415, allocations: 7.988 MB / 1.413 GB, free: 13.86 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/1.416, allocations: 4 kB / 1.413 GB, free: 13.86 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002145/1.416, allocations: 29.58 kB / 1.413 GB, free: 13.83 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/1.416, allocations: 18.75 kB / 1.413 GB, free: 13.82 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004592/1.42, allocations: 1.461 MB / 1.414 GB, free: 12.79 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001857/1.421, allocations: 83.27 kB / 1.414 GB, free: 12.74 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/1.421, allocations: 2.594 kB / 1.414 GB, free: 12.74 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/1.421, allocations: 44.59 kB / 1.414 GB, free: 12.72 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/1.421, allocations: 33.33 kB / 1.414 GB, free: 12.7 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/1.421, allocations: 3.312 kB / 1.414 GB, free: 12.7 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00513/1.426, allocations: 2.707 MB / 1.417 GB, free: 11.29 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/1.426, allocations: 15.11 kB / 1.417 GB, free: 11.28 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.638e-05/1.426, allocations: 37 kB / 1.417 GB, free: 11.25 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/1.428, allocations: 1.376 MB / 1.418 GB, free: 10.38 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.428, allocations: 3.938 kB / 1.418 GB, free: 10.38 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.512e-06/1.428, allocations: 0 / 1.418 GB, free: 10.38 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.428, allocations: 1.062 kB / 1.418 GB, free: 10.38 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001091/1.43, allocations: 0.4937 MB / 1.419 GB, free: 9.926 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.43, allocations: 13.38 kB / 1.419 GB, free: 9.922 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003813/1.43, allocations: 23.06 kB / 1.419 GB, free: 9.914 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/1.43, allocations: 166.5 kB / 1.419 GB, free: 9.715 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/1.43, allocations: 33.53 kB / 1.419 GB, free: 9.68 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/1.43, allocations: 16.22 kB / 1.419 GB, free: 9.668 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/1.431, allocations: 116.7 kB / 1.419 GB, free: 9.59 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.431, allocations: 1.469 kB / 1.419 GB, free: 9.59 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/1.431, allocations: 4 kB / 1.419 GB, free: 9.586 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.431, allocations: 1.375 kB / 1.419 GB, free: 9.586 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/1.431, allocations: 117 kB / 1.419 GB, free: 9.531 MB / 1.107 GB 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. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/1.431, allocations: 389.2 kB / 1.42 GB, free: 9.125 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/1.432, allocations: 116.7 kB / 1.42 GB, free: 9.051 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/1.432, allocations: 50.44 kB / 1.42 GB, free: 9.023 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01221/1.444, allocations: 4.231 MB / 1.424 GB, free: 6.289 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/1.444, allocations: 40.45 kB / 1.424 GB, free: 6.242 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/1.444, allocations: 4 kB / 1.424 GB, free: 6.238 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0006181/1.445, allocations: 160 kB / 1.424 GB, free: 6.148 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/1.445, allocations: 52.56 kB / 1.424 GB, free: 6.086 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/1.445, allocations: 103.2 kB / 1.424 GB, free: 5.98 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/1.445, allocations: 26.89 kB / 1.424 GB, free: 5.949 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/1.445, allocations: 93.17 kB / 1.424 GB, free: 5.855 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/1.445, allocations: 40.11 kB / 1.424 GB, free: 5.82 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/1.445, allocations: 26.56 kB / 1.424 GB, free: 5.797 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.445, allocations: 327.9 kB / 1.425 GB, free: 5.469 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-05/1.445, allocations: 25.77 kB / 1.425 GB, free: 5.457 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/1.445, allocations: 26.48 kB / 1.425 GB, free: 5.445 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/1.445, allocations: 62.61 kB / 1.425 GB, free: 5.414 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.445, allocations: 3.938 kB / 1.425 GB, free: 5.41 MB / 1.107 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002045/1.446, allocations: 113.8 kB / 1.425 GB, free: 5.34 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.446, allocations: 9.375 kB / 1.425 GB, free: 5.336 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.446, allocations: 3.984 kB / 1.425 GB, free: 5.332 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.446, allocations: 5.125 kB / 1.425 GB, free: 5.328 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/1.446, allocations: 17.44 kB / 1.425 GB, free: 5.328 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.446, allocations: 7.984 kB / 1.425 GB, free: 5.32 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/1.446, allocations: 13.88 kB / 1.425 GB, free: 5.309 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/1.446, allocations: 3.406 kB / 1.425 GB, free: 5.309 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.446, allocations: 116 kB / 1.425 GB, free: 5.188 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/1.446, allocations: 7.984 kB / 1.425 GB, free: 5.184 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005736/1.447, allocations: 366.9 kB / 1.425 GB, free: 4.961 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/1.447, allocations: 10.42 kB / 1.425 GB, free: 4.953 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.447, allocations: 1.344 kB / 1.425 GB, free: 4.953 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.447, allocations: 7.938 kB / 1.425 GB, free: 4.945 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/1.447, allocations: 277.8 kB / 1.426 GB, free: 4.676 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.447, allocations: 0 / 1.426 GB, free: 4.676 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/1.447, allocations: 25.45 kB / 1.426 GB, free: 4.668 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.447, allocations: 1.125 kB / 1.426 GB, free: 4.668 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/1.447, allocations: 5.125 kB / 1.426 GB, free: 4.664 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/1.447, allocations: 1.062 kB / 1.426 GB, free: 4.664 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/1.447, allocations: 0 / 1.426 GB, free: 4.664 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/1.448, allocations: 338.6 kB / 1.426 GB, free: 4.418 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/1.448, allocations: 104 kB / 1.426 GB, free: 4.305 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/1.448, allocations: 1.594 kB / 1.426 GB, free: 4.305 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/1.448, allocations: 11.05 kB / 1.426 GB, free: 4.297 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/1.448, allocations: 7.547 kB / 1.426 GB, free: 4.293 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/1.448, allocations: 16.53 kB / 1.426 GB, free: 4.281 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.322e-05/1.448, allocations: 81.59 kB / 1.426 GB, free: 4.203 MB / 1.107 GB Notification: Performance of sort global known variables: time 6e-08/1.448, allocations: 1.25 kB / 1.426 GB, free: 4.203 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001585/1.45, allocations: 297.3 kB / 1.427 GB, free: 4.172 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001406/1.451, allocations: 399.9 kB / 1.427 GB, free: 3.992 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002633/1.451, allocations: 122.5 kB / 1.427 GB, free: 3.938 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.451, allocations: 0 / 1.427 GB, free: 3.938 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/1.451, allocations: 90.7 kB / 1.427 GB, free: 3.895 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/1.452, allocations: 21.25 kB / 1.427 GB, free: 3.883 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/1.452, allocations: 319.7 kB / 1.427 GB, free: 3.648 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/1.453, allocations: 0.7201 MB / 1.428 GB, free: 2.934 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001135/1.453, allocations: 27.52 kB / 1.428 GB, free: 2.922 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/1.453, allocations: 18.31 kB / 1.428 GB, free: 2.91 MB / 1.107 GB Notification: Performance of SimCode: time 5.42e-07/1.453, allocations: 0 / 1.428 GB, free: 2.91 MB / 1.107 GB Notification: Performance of Templates: time 0.0167/1.469, allocations: 9.876 MB / 1.438 GB, free: 10.11 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.101277789101005]