Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001271/0.001271, allocations: 112.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.001518/0.001518, allocations: 189.5 kB / 22.22 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.347/1.347, 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-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.929/2.929, allocations: 496 MB / 0.7835 GB, free: 33.52 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-maint.12.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_12_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_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 69.06 kB / 1.138 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3419, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1635/0.5054, allocations: 136 MB / 1.44 GB, free: 9.297 MB / 1.139 GB
Notification: Performance of NFInst.instExpressions: time 0.01025/0.5156, allocations: 7.97 MB / 1.448 GB, free: 1.301 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.5157, allocations: 4 kB / 1.448 GB, free: 1.297 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 0.000193/0.5159, allocations: 31.81 kB / 1.448 GB, free: 1.266 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.5159, allocations: 19.84 kB / 1.448 GB, free: 1.246 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.5197, allocations: 1.467 MB / 1.449 GB, free: 15.78 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.0001499/0.5199, allocations: 71.7 kB / 1.449 GB, free: 15.71 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.5199, allocations: 3.938 kB / 1.449 GB, free: 15.7 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.5201, allocations: 47.83 kB / 1.449 GB, free: 15.66 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.726e-05/0.5202, allocations: 35.91 kB / 1.449 GB, free: 15.62 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.5202, allocations: 4 kB / 1.449 GB, free: 15.62 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004604/0.5248, allocations: 2.708 MB / 1.452 GB, free: 12.91 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.5248, allocations: 15.92 kB / 1.452 GB, free: 12.89 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.5249, allocations: 31.84 kB / 1.452 GB, free: 12.86 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.002278/0.5271, allocations: 1.376 MB / 1.454 GB, free: 11.48 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.5271, allocations: 0 / 1.454 GB, free: 11.48 MB / 1.154 GB
Notification: Performance of FrontEnd: time 1.472e-06/0.5271, allocations: 3.938 kB / 1.454 GB, free: 11.48 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 5.891e-06/0.5271, allocations: 0 / 1.454 GB, free: 11.48 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.001161/0.5283, allocations: 437.2 kB / 1.454 GB, free: 11.02 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5283, allocations: 8.922 kB / 1.454 GB, free: 11.01 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/0.5287, allocations: 24.86 kB / 1.454 GB, free: 10.99 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.5288, allocations: 114.4 kB / 1.454 GB, free: 10.85 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/0.5289, allocations: 30.27 kB / 1.454 GB, free: 10.82 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.5289, allocations: 11.94 kB / 1.454 GB, free: 10.8 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.5293, allocations: 120 kB / 1.454 GB, free: 10.68 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.5293, allocations: 0 / 1.454 GB, free: 10.68 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.5293, allocations: 8 kB / 1.454 GB, free: 10.68 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5293, allocations: 4 kB / 1.454 GB, free: 10.67 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.5296, allocations: 123.8 kB / 1.454 GB, free: 10.55 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.0005232/0.5301, allocations: 355.1 kB / 1.455 GB, free: 10.15 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.5304, allocations: 110.6 kB / 1.455 GB, free: 10.03 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.5305, allocations: 52.7 kB / 1.455 GB, free: 9.98 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01038/0.5409, allocations: 2.962 MB / 1.458 GB, free: 7.016 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.5409, allocations: 38.5 kB / 1.458 GB, free: 6.969 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=13): time 2.023e-06/0.5409, allocations: 0 / 1.458 GB, free: 6.969 MB / 1.154 GB
Notification: Performance of matching and sorting (n=13): time 0.0005141/0.5414, allocations: 161.6 kB / 1.458 GB, free: 6.805 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.5415, allocations: 51.41 kB / 1.458 GB, free: 6.742 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.5415, allocations: 109.8 kB / 1.458 GB, free: 6.625 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.5416, allocations: 25.7 kB / 1.458 GB, free: 6.594 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.5416, allocations: 88.09 kB / 1.458 GB, free: 6.504 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.5417, allocations: 47.58 kB / 1.458 GB, free: 6.457 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.5417, allocations: 33.7 kB / 1.458 GB, free: 6.418 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001303/0.5418, allocations: 318.8 kB / 1.459 GB, free: 6.098 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.964e-05/0.5419, allocations: 23.98 kB / 1.459 GB, free: 6.074 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.5419, allocations: 23.98 kB / 1.459 GB, free: 6.051 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.5421, allocations: 72.78 kB / 1.459 GB, free: 5.977 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5421, allocations: 0 / 1.459 GB, free: 5.977 MB / 1.154 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001931/0.5423, allocations: 113.7 kB / 1.459 GB, free: 5.859 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.5423, allocations: 4 kB / 1.459 GB, free: 5.855 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5423, allocations: 0 / 1.459 GB, free: 5.855 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5423, allocations: 4 kB / 1.459 GB, free: 5.852 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.5424, allocations: 23.92 kB / 1.459 GB, free: 5.828 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5424, allocations: 4 kB / 1.459 GB, free: 5.824 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.5425, allocations: 7.891 kB / 1.459 GB, free: 5.816 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.5425, allocations: 8 kB / 1.459 GB, free: 5.809 MB / 1.154 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.0001015/0.5426, allocations: 117.8 kB / 1.459 GB, free: 5.684 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.5427, allocations: 7.953 kB / 1.459 GB, free: 5.676 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004908/0.5431, allocations: 372.3 kB / 1.459 GB, free: 5.305 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.5432, allocations: 19.92 kB / 1.459 GB, free: 5.285 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5432, allocations: 0 / 1.459 GB, free: 5.285 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5432, allocations: 3.938 kB / 1.459 GB, free: 5.281 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.5435, allocations: 256.3 kB / 1.46 GB, free: 4.988 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5435, allocations: 0 / 1.46 GB, free: 4.988 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.5436, allocations: 23.98 kB / 1.46 GB, free: 4.965 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5436, allocations: 0 / 1.46 GB, free: 4.965 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.5436, allocations: 7.984 kB / 1.46 GB, free: 4.957 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5436, allocations: 0 / 1.46 GB, free: 4.957 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5436, allocations: 4 kB / 1.46 GB, free: 4.953 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.544, allocations: 339.1 kB / 1.46 GB, free: 4.605 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.544, allocations: 35.75 kB / 1.46 GB, free: 4.57 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.544, allocations: 0 / 1.46 GB, free: 4.57 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.5442, allocations: 11.98 kB / 1.46 GB, free: 4.559 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.5442, allocations: 7.984 kB / 1.46 GB, free: 4.551 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.5442, allocations: 15.92 kB / 1.46 GB, free: 4.535 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 3.961e-05/0.5442, allocations: 75.28 kB / 1.46 GB, free: 4.461 MB / 1.154 GB
Notification: Performance of sort global known variables: time 7e-08/0.5442, allocations: 0 / 1.46 GB, free: 4.461 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0008483/0.5451, allocations: 303.7 kB / 1.46 GB, free: 4.164 MB / 1.154 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.001323/0.5464, allocations: 397 kB / 1.461 GB, free: 3.766 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.0002268/0.5466, allocations: 119.9 kB / 1.461 GB, free: 3.648 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5466, allocations: 4 kB / 1.461 GB, free: 3.645 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.5468, allocations: 91.91 kB / 1.461 GB, free: 3.555 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.5471, allocations: 22.48 kB / 1.461 GB, free: 3.535 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.5476, allocations: 316.7 kB / 1.461 GB, free: 3.199 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.5479, allocations: 0.7173 MB / 1.462 GB, free: 2.453 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0001068/0.5481, allocations: 32.33 kB / 1.462 GB, free: 2.422 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.5481, allocations: 23.44 kB / 1.462 GB, free: 2.398 MB / 1.154 GB
Notification: Performance of SimCode: time 3.71e-07/0.5481, allocations: 0 / 1.462 GB, free: 2.398 MB / 1.154 GB
Notification: Performance of Templates: time 0.01618/0.5643, allocations: 9.947 MB / 1.472 GB, free: 8.449 MB / 1.17 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.650420659221709]