Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8628/0.8628, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.719/1.719, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 3.938 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.58e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.5107/0.5107, allocations: 119.2 MB / 1.117 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005907/0.5166, allocations: 7.23 MB / 1.124 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.465e-05/0.5166, allocations: 0 / 1.124 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.5168, allocations: 16.47 kB / 1.124 GB, free: 5.938 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 3.451e-05/0.5169, allocations: 20.89 kB / 1.124 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.5204, allocations: 1.474 MB / 1.126 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.5206, allocations: 77.2 kB / 1.126 GB, free: 5.359 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.5206, allocations: 10.36 kB / 1.126 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.5208, allocations: 57.58 kB / 1.126 GB, free: 5.336 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.941e-05/0.5209, allocations: 30.97 kB / 1.126 GB, free: 5.324 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.5209, allocations: 3.281 kB / 1.126 GB, free: 5.324 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004648/0.5256, allocations: 2.619 MB / 1.128 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.5256, allocations: 18.22 kB / 1.129 GB, free: 4.715 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.5256, allocations: 24.61 kB / 1.129 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.5281, allocations: 1.792 MB / 1.13 GB, free: 4.195 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5281, allocations: 3.094 kB / 1.13 GB, free: 4.195 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5281, allocations: 0 / 1.13 GB, free: 4.195 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.5281, allocations: 0 / 1.13 GB, free: 4.195 MB / 0.9948 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.00128/0.5294, allocations: 442.2 kB / 1.131 GB, free: 3.852 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5294, allocations: 9.781 kB / 1.131 GB, free: 3.852 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.5296, allocations: 24.58 kB / 1.131 GB, free: 3.848 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.343e-05/0.5297, allocations: 117.3 kB / 1.131 GB, free: 3.711 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.5298, allocations: 56.83 kB / 1.131 GB, free: 3.648 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.5298, allocations: 8.875 kB / 1.131 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.53, allocations: 143.4 kB / 1.131 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.53, allocations: 5.25 kB / 1.131 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.53, allocations: 4.656 kB / 1.131 GB, free: 3.555 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.53, allocations: 2.344 kB / 1.131 GB, free: 3.555 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.5302, allocations: 117.1 kB / 1.131 GB, free: 3.527 MB / 0.9948 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.0003377/0.5306, allocations: 269.2 kB / 1.131 GB, free: 3.289 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.5307, allocations: 123.4 kB / 1.132 GB, free: 3.227 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.5308, allocations: 43.75 kB / 1.132 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005995/0.5368, allocations: 3.04 MB / 1.135 GB, free: 2.887 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.5368, allocations: 35.11 kB / 1.135 GB, free: 2.848 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.5368, allocations: 3.984 kB / 1.135 GB, free: 2.844 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0003554/0.5372, allocations: 171.6 kB / 1.135 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.5372, allocations: 57.3 kB / 1.135 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.807e-05/0.5372, allocations: 101.3 kB / 1.135 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.5372, allocations: 29.98 kB / 1.135 GB, free: 2.566 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.5373, allocations: 86.17 kB / 1.135 GB, free: 2.48 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.5373, allocations: 48.7 kB / 1.135 GB, free: 2.441 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.5373, allocations: 28.45 kB / 1.135 GB, free: 2.418 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.094e-05/0.5374, allocations: 314.6 kB / 1.135 GB, free: 2.105 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.5374, allocations: 25.36 kB / 1.135 GB, free: 2.098 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/0.5374, allocations: 25.31 kB / 1.135 GB, free: 2.09 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.096e-05/0.5375, allocations: 70 kB / 1.136 GB, free: 2.055 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5375, allocations: 3.938 kB / 1.136 GB, free: 2.051 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001201/0.5376, allocations: 117.5 kB / 1.136 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5376, allocations: 7.375 kB / 1.136 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5377, allocations: 5.453 kB / 1.136 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.5377, allocations: 0 / 1.136 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.5377, allocations: 25.66 kB / 1.136 GB, free: 1.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5378, allocations: 0 / 1.136 GB, free: 1.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.5378, allocations: 2.844 kB / 1.136 GB, free: 1.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.5378, allocations: 3.375 kB / 1.136 GB, free: 1.98 MB / 0.9948 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 4.464e-05/0.5378, allocations: 126.1 kB / 1.136 GB, free: 1.852 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.5379, allocations: 6.672 kB / 1.136 GB, free: 1.848 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.5382, allocations: 385.1 kB / 1.136 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.5382, allocations: 5.047 kB / 1.136 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5382, allocations: 0.6094 kB / 1.136 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5382, allocations: 0.5625 kB / 1.136 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.5383, allocations: 214.6 kB / 1.136 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5383, allocations: 3.938 kB / 1.136 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.5384, allocations: 24 kB / 1.136 GB, free: 1.473 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5384, allocations: 1.953 kB / 1.136 GB, free: 1.473 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.5384, allocations: 5.891 kB / 1.136 GB, free: 1.469 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.5384, allocations: 6.188 kB / 1.136 GB, free: 1.465 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5384, allocations: 4 kB / 1.136 GB, free: 1.461 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.5386, allocations: 334.2 kB / 1.137 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.5387, allocations: 32.33 kB / 1.137 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.5387, allocations: 6.656 kB / 1.137 GB, free: 1.223 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.5387, allocations: 10.7 kB / 1.137 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.5388, allocations: 7.016 kB / 1.137 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.5388, allocations: 9.859 kB / 1.137 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.609e-05/0.5388, allocations: 80.38 kB / 1.137 GB, free: 1.141 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5388, allocations: 0 / 1.137 GB, free: 1.141 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000897/0.5397, allocations: 305.3 kB / 1.137 GB, free: 1.109 MB / 0.9948 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.00099/0.5407, allocations: 452.5 kB / 1.138 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.5409, allocations: 123.5 kB / 1.138 GB, free: 0.9062 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5409, allocations: 0 / 1.138 GB, free: 0.9062 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.5409, allocations: 90.31 kB / 1.138 GB, free: 0.875 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.5411, allocations: 24.45 kB / 1.138 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.5416, allocations: 336.1 kB / 1.138 GB, free: 0.6328 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.12e-05/0.5416, allocations: 106 kB / 1.138 GB, free: 0.5586 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.5417, allocations: 18.42 kB / 1.138 GB, free: 0.5508 MB / 0.9948 GB Notification: Performance of SimCode: time 4.21e-07/0.5417, allocations: 0 / 1.138 GB, free: 0.5508 MB / 0.9948 GB Notification: Performance of Templates: time 0.01065/0.5523, allocations: 6.947 MB / 1.145 GB, free: 24 kB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.376285620965064]