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.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.001235/0.001235, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001312/0.001312, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.355/1.355, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.907/2.907, allocations: 0.4893 GB / 0.7884 GB, free: 33.16 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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 0.001864/0.001864, allocations: 65.45 kB / 1.145 GB, free: 30.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.303, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1557/0.4587, allocations: 136 MB / 1.449 GB, free: 1.207 MB / 1.139 GB
Notification: Performance of NFInst.instExpressions: time 0.01017/0.4688, allocations: 7.993 MB / 1.457 GB, free: 9.188 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.4689, allocations: 0 / 1.457 GB, free: 9.188 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.4691, allocations: 19.89 kB / 1.457 GB, free: 9.168 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.4691, allocations: 19.8 kB / 1.457 GB, free: 9.148 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.473, allocations: 1.474 MB / 1.458 GB, free: 7.676 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.0001394/0.4731, allocations: 71.66 kB / 1.458 GB, free: 7.605 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.4732, allocations: 11.97 kB / 1.458 GB, free: 7.594 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.4733, allocations: 43.84 kB / 1.458 GB, free: 7.551 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.048e-05/0.4734, allocations: 31.89 kB / 1.458 GB, free: 7.52 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.4734, allocations: 7.938 kB / 1.458 GB, free: 7.512 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004629/0.478, allocations: 2.704 MB / 1.461 GB, free: 4.805 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.4781, allocations: 15.92 kB / 1.461 GB, free: 4.789 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.4781, allocations: 35.86 kB / 1.461 GB, free: 4.754 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.002321/0.4804, allocations: 1.38 MB / 1.462 GB, free: 3.371 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4804, allocations: 4 kB / 1.462 GB, free: 3.367 MB / 1.154 GB
Notification: Performance of FrontEnd: time 1.082e-06/0.4804, allocations: 0 / 1.462 GB, free: 3.367 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 6.392e-06/0.4804, allocations: 0 / 1.462 GB, free: 3.367 MB / 1.154 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.001142/0.4816, allocations: 429.2 kB / 1.463 GB, free: 2.918 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4816, allocations: 8.031 kB / 1.463 GB, free: 2.91 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004137/0.482, allocations: 24.88 kB / 1.463 GB, free: 2.887 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.4822, allocations: 118.4 kB / 1.463 GB, free: 2.746 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/0.4822, allocations: 38.2 kB / 1.463 GB, free: 2.703 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.4822, allocations: 11.94 kB / 1.463 GB, free: 2.691 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.4826, allocations: 119 kB / 1.463 GB, free: 2.57 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4826, allocations: 4 kB / 1.463 GB, free: 2.566 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.4826, allocations: 3.984 kB / 1.463 GB, free: 2.562 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4827, allocations: 0 / 1.463 GB, free: 2.562 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.4829, allocations: 119.9 kB / 1.463 GB, free: 2.445 MB / 1.154 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.0005028/0.4835, allocations: 355.1 kB / 1.463 GB, free: 2.043 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.4837, allocations: 118.6 kB / 1.464 GB, free: 1.918 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.4838, allocations: 44.84 kB / 1.464 GB, free: 1.871 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.4951, allocations: 2.954 MB / 1.466 GB, free: 14.91 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.4951, allocations: 42.55 kB / 1.467 GB, free: 14.86 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.4951, allocations: 0 / 1.467 GB, free: 14.86 MB / 1.17 GB
Notification: Performance of matching and sorting (n=13): time 0.0006505/0.4958, allocations: 161.6 kB / 1.467 GB, free: 14.7 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.4958, allocations: 55.41 kB / 1.467 GB, free: 14.63 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.4959, allocations: 93.86 kB / 1.467 GB, free: 14.53 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.4959, allocations: 33.7 kB / 1.467 GB, free: 14.49 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.496, allocations: 92.08 kB / 1.467 GB, free: 14.4 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.4961, allocations: 47.58 kB / 1.467 GB, free: 14.35 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.4961, allocations: 21.72 kB / 1.467 GB, free: 14.32 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001545/0.4963, allocations: 322.8 kB / 1.467 GB, free: 14 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.4963, allocations: 27.98 kB / 1.467 GB, free: 13.97 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/0.4964, allocations: 23.98 kB / 1.467 GB, free: 13.95 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.4965, allocations: 72.3 kB / 1.467 GB, free: 13.88 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4965, allocations: 4 kB / 1.467 GB, free: 13.88 MB / 1.17 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002234/0.4967, allocations: 113.8 kB / 1.468 GB, free: 13.76 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4968, allocations: 6.188 kB / 1.468 GB, free: 13.75 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.4968, allocations: 3.984 kB / 1.468 GB, free: 13.75 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.4968, allocations: 3.984 kB / 1.468 GB, free: 13.75 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.4969, allocations: 20 kB / 1.468 GB, free: 13.73 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.4969, allocations: 7.969 kB / 1.468 GB, free: 13.72 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.497, allocations: 7.938 kB / 1.468 GB, free: 13.71 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.497, allocations: 4 kB / 1.468 GB, free: 13.71 MB / 1.17 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.0001186/0.4971, allocations: 121.8 kB / 1.468 GB, free: 13.58 MB / 1.17 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.4972, allocations: 7.953 kB / 1.468 GB, free: 13.57 MB / 1.17 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.4978, allocations: 376.4 kB / 1.468 GB, free: 13.2 MB / 1.17 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.4978, allocations: 3.984 kB / 1.468 GB, free: 13.2 MB / 1.17 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4978, allocations: 0 / 1.468 GB, free: 13.2 MB / 1.17 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4978, allocations: 7.875 kB / 1.468 GB, free: 13.19 MB / 1.17 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.4982, allocations: 260.3 kB / 1.468 GB, free: 12.89 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.4982, allocations: 0 / 1.468 GB, free: 12.89 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.4983, allocations: 31.92 kB / 1.468 GB, free: 12.86 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4983, allocations: 0 / 1.468 GB, free: 12.86 MB / 1.17 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.4983, allocations: 8 kB / 1.468 GB, free: 12.85 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4983, allocations: 0 / 1.468 GB, free: 12.85 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4983, allocations: 0 / 1.468 GB, free: 12.85 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.4987, allocations: 339.2 kB / 1.469 GB, free: 12.5 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.4988, allocations: 27.77 kB / 1.469 GB, free: 12.48 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.4988, allocations: 4 kB / 1.469 GB, free: 12.47 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4989, allocations: 7.984 kB / 1.469 GB, free: 12.46 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.499, allocations: 15.98 kB / 1.469 GB, free: 12.45 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.499, allocations: 7.938 kB / 1.469 GB, free: 12.44 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 5.291e-05/0.499, allocations: 83.27 kB / 1.469 GB, free: 12.36 MB / 1.17 GB
Notification: Performance of sort global known variables: time 8e-08/0.499, allocations: 0 / 1.469 GB, free: 12.36 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.001042/0.5001, allocations: 303.6 kB / 1.469 GB, free: 12.06 MB / 1.17 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.001476/0.5016, allocations: 399.2 kB / 1.47 GB, free: 11.66 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.0002666/0.5018, allocations: 127.9 kB / 1.47 GB, free: 11.54 MB / 1.17 GB
Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5018, allocations: 0 / 1.47 GB, free: 11.54 MB / 1.17 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.502, allocations: 86.5 kB / 1.47 GB, free: 11.45 MB / 1.17 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.5023, allocations: 19.98 kB / 1.47 GB, free: 11.43 MB / 1.17 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/0.5028, allocations: 320.7 kB / 1.47 GB, free: 11.09 MB / 1.17 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.5032, allocations: 0.7164 MB / 1.471 GB, free: 10.34 MB / 1.17 GB
Notification: Performance of simCode: alias equations: time 0.0001129/0.5033, allocations: 32.47 kB / 1.471 GB, free: 10.31 MB / 1.17 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.5033, allocations: 19.42 kB / 1.471 GB, free: 10.29 MB / 1.17 GB
Notification: Performance of SimCode: time 4e-07/0.5033, allocations: 0 / 1.471 GB, free: 10.29 MB / 1.17 GB
Notification: Performance of Templates: time 0.0154/0.5187, allocations: 9.947 MB / 1.48 GB, free: 352 kB / 1.17 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: 8.54589387960732]