Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.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.001767/0.001767, allocations: 110 kB / 18.93 MB, free: 2.945 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.001671/0.001671, allocations: 188.9 kB / 22.23 MB, free: 5.16 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.385/1.385, allocations: 225.6 MB / 251 MB, free: 13 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.902/2.902, allocations: 496 MB / 0.7835 GB, free: 33.59 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck")
translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 70.75 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3219, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002321/0.3243, allocations: 1.278 MB / 1.309 GB, free: 0.5625 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.163/0.4873, allocations: 138.1 MB / 1.443 GB, free: 5.91 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.4873, allocations: 3.938 kB / 1.443 GB, free: 5.906 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.4874, allocations: 0 / 1.443 GB, free: 5.906 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.4874, allocations: 11.91 kB / 1.443 GB, free: 5.895 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.4888, allocations: 462.3 kB / 1.444 GB, free: 5.441 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 9.995e-05/0.4889, allocations: 43.83 kB / 1.444 GB, free: 5.398 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.4889, allocations: 8 kB / 1.444 GB, free: 5.391 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.489, allocations: 15.98 kB / 1.444 GB, free: 5.375 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.4891, allocations: 23.91 kB / 1.444 GB, free: 5.352 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.4891, allocations: 0 / 1.444 GB, free: 5.352 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.4906, allocations: 0.8348 MB / 1.445 GB, free: 4.516 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.4907, allocations: 7.984 kB / 1.445 GB, free: 4.508 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.4907, allocations: 19.92 kB / 1.445 GB, free: 4.488 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006299/0.4913, allocations: 443 kB / 1.445 GB, free: 4.055 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4913, allocations: 0 / 1.445 GB, free: 4.055 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.563e-06/0.4913, allocations: 0 / 1.445 GB, free: 4.055 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 1.121e-05/0.4913, allocations: 0 / 1.445 GB, free: 4.055 MB / 1.139 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005312/0.4919, allocations: 298.1 kB / 1.445 GB, free: 3.734 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4919, allocations: 12.03 kB / 1.445 GB, free: 3.723 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.4921, allocations: 16.92 kB / 1.445 GB, free: 3.707 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.4922, allocations: 106.5 kB / 1.446 GB, free: 3.578 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.4922, allocations: 8.312 kB / 1.446 GB, free: 3.57 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.4922, allocations: 12.12 kB / 1.446 GB, free: 3.559 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.4924, allocations: 53.66 kB / 1.446 GB, free: 3.5 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4924, allocations: 0 / 1.446 GB, free: 3.5 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.4924, allocations: 7.984 kB / 1.446 GB, free: 3.492 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4924, allocations: 3.938 kB / 1.446 GB, free: 3.488 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.04e-05/0.4925, allocations: 19.98 kB / 1.446 GB, free: 3.469 MB / 1.139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.4927, allocations: 136.7 kB / 1.446 GB, free: 3.293 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.4928, allocations: 50.5 kB / 1.446 GB, free: 3.234 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.4928, allocations: 16.8 kB / 1.446 GB, free: 3.215 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01028/0.5031, allocations: 2.86 MB / 1.449 GB, free: 360 kB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.5032, allocations: 34.56 kB / 1.449 GB, free: 316 kB / 1.139 GB
Notification: Performance of pre-optimization done (n=7): time 2.415e-06/0.5032, allocations: 0 / 1.449 GB, free: 316 kB / 1.139 GB
Notification: Performance of matching and sorting (n=11): time 0.03939/0.5426, allocations: 14.94 MB / 1.463 GB, free: 1.234 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.5426, allocations: 55.41 kB / 1.463 GB, free: 1.168 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.5427, allocations: 93.86 kB / 1.463 GB, free: 1.066 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.5427, allocations: 29.64 kB / 1.463 GB, free: 1.031 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.5427, allocations: 80.14 kB / 1.464 GB, free: 0.9492 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.5428, allocations: 47.64 kB / 1.464 GB, free: 0.9023 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.5428, allocations: 25.72 kB / 1.464 GB, free: 0.8711 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0001441/0.543, allocations: 318.8 kB / 1.464 GB, free: 0.5508 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/0.543, allocations: 32.11 kB / 1.464 GB, free: 0.5195 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.452e-05/0.5431, allocations: 23.94 kB / 1.464 GB, free: 0.4961 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.5432, allocations: 61.97 kB / 1.464 GB, free: 444 kB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5432, allocations: 0 / 1.464 GB, free: 444 kB / 1.154 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002259/0.5434, allocations: 106.2 kB / 1.464 GB, free: 332 kB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5435, allocations: 4 kB / 1.464 GB, free: 328 kB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5435, allocations: 0 / 1.464 GB, free: 328 kB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5435, allocations: 4 kB / 1.464 GB, free: 324 kB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.5436, allocations: 19.94 kB / 1.464 GB, free: 304 kB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5436, allocations: 7.984 kB / 1.464 GB, free: 296 kB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.5436, allocations: 8 kB / 1.464 GB, free: 288 kB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.5436, allocations: 4 kB / 1.464 GB, free: 284 kB / 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 (14):
 * Single equations (assignments): 14
 * 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 8.941e-05/0.5437, allocations: 117.7 kB / 1.464 GB, free: 156 kB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.5438, allocations: 4 kB / 1.464 GB, free: 152 kB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.544, allocations: 129.4 kB / 1.464 GB, free: 16 kB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5441, allocations: 0 / 1.464 GB, free: 16 kB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5441, allocations: 0 / 1.464 GB, free: 16 kB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5441, allocations: 0 / 1.464 GB, free: 16 kB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.5442, allocations: 156.7 kB / 1.465 GB, free: 15.82 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5442, allocations: 3.938 kB / 1.465 GB, free: 15.82 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.5443, allocations: 23.98 kB / 1.465 GB, free: 15.79 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.5443, allocations: 0 / 1.465 GB, free: 15.79 MB / 1.17 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.5444, allocations: 4 kB / 1.465 GB, free: 15.79 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.5444, allocations: 0 / 1.465 GB, free: 15.79 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5444, allocations: 4 kB / 1.465 GB, free: 15.79 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.5447, allocations: 160.9 kB / 1.465 GB, free: 15.61 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.5447, allocations: 19.98 kB / 1.465 GB, free: 15.59 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.5447, allocations: 0 / 1.465 GB, free: 15.59 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.5449, allocations: 19.98 kB / 1.465 GB, free: 15.57 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.5449, allocations: 7.984 kB / 1.465 GB, free: 15.56 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.5449, allocations: 4 kB / 1.465 GB, free: 15.56 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 3.955e-05/0.5449, allocations: 83.28 kB / 1.465 GB, free: 15.48 MB / 1.17 GB
Notification: Performance of sort global known variables: time 5.1e-08/0.5449, allocations: 0 / 1.465 GB, free: 15.48 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.001679/0.5466, allocations: 0.5621 MB / 1.465 GB, free: 14.91 MB / 1.17 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (hVapSym,cpSym,cvSym)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (11):
 * Single equations (assignments): 11
 * 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 Backend phase and start with SimCode phase: time 0.002642/0.5493, allocations: 357.7 kB / 1.466 GB, free: 14.56 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.0002008/0.5495, allocations: 71.84 kB / 1.466 GB, free: 14.49 MB / 1.17 GB
Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5495, allocations: 0 / 1.466 GB, free: 14.49 MB / 1.17 GB
Notification: Performance of simCode: created simulation system equations: time 6.415e-05/0.5495, allocations: 31.94 kB / 1.466 GB, free: 14.46 MB / 1.17 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.5497, allocations: 14.27 kB / 1.466 GB, free: 14.45 MB / 1.17 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000637/0.5503, allocations: 338.3 kB / 1.466 GB, free: 14.09 MB / 1.17 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.5507, allocations: 0.6846 MB / 1.467 GB, free: 13.38 MB / 1.17 GB
Notification: Performance of simCode: alias equations: time 8.167e-05/0.5507, allocations: 24.53 kB / 1.467 GB, free: 13.35 MB / 1.17 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.5508, allocations: 15.44 kB / 1.467 GB, free: 13.34 MB / 1.17 GB
Notification: Performance of SimCode: time 5.41e-07/0.5508, allocations: 0 / 1.467 GB, free: 13.34 MB / 1.17 GB
Notification: Performance of Templates: time 0.03843/0.5892, allocations: 24.32 MB / 1.491 GB, free: 4.992 MB / 1.186 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.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: 11.769367366097867]