Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001704/0.001704, allocations: 108.8 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.001882/0.001882, allocations: 192.3 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.486/1.486, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.898/2.898, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_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_11_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.84 kB / 1.109 GB, free: 6.344 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 168.8 MB / 1.274 GB, free: 4.199 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002884/1.013, allocations: 1.275 MB / 1.276 GB, free: 2.918 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.1978/1.211, allocations: 138.1 MB / 1.41 GB, free: 8.266 MB / 1.107 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/1.211, allocations: 0 / 1.41 GB, free: 8.266 MB / 1.107 GB
Notification: Performance of NFTyping.typeComponents: time 3.255e-05/1.211, allocations: 3.938 kB / 1.41 GB, free: 8.262 MB / 1.107 GB
Notification: Performance of NFTyping.typeBindings: time 6.593e-05/1.211, allocations: 3.984 kB / 1.41 GB, free: 8.258 MB / 1.107 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001571/1.213, allocations: 476.9 kB / 1.411 GB, free: 7.793 MB / 1.107 GB
Notification: Performance of NFFlatten.flatten: time 0.0001174/1.213, allocations: 35.92 kB / 1.411 GB, free: 7.758 MB / 1.107 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/1.213, allocations: 7.938 kB / 1.411 GB, free: 7.75 MB / 1.107 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/1.213, allocations: 19.97 kB / 1.411 GB, free: 7.73 MB / 1.107 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.669e-05/1.213, allocations: 19.92 kB / 1.411 GB, free: 7.711 MB / 1.107 GB
Notification: Performance of NFPackage.collectConstants: time 1.201e-05/1.213, allocations: 0 / 1.411 GB, free: 7.711 MB / 1.107 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001586/1.215, allocations: 0.8387 MB / 1.412 GB, free: 6.871 MB / 1.107 GB
Notification: Performance of NFScalarize.scalarize: time 1.805e-05/1.215, allocations: 7.969 kB / 1.412 GB, free: 6.863 MB / 1.107 GB
Notification: Performance of NFVerifyModel.verify: time 3.768e-05/1.215, allocations: 15.94 kB / 1.412 GB, free: 6.848 MB / 1.107 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006618/1.216, allocations: 446.8 kB / 1.412 GB, free: 6.414 MB / 1.107 GB
Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.216, allocations: 0 / 1.412 GB, free: 6.414 MB / 1.107 GB
Notification: Performance of FrontEnd: time 1.844e-06/1.216, allocations: 0 / 1.412 GB, free: 6.414 MB / 1.107 GB
Notification: Performance of Transformations before backend: time 6.162e-06/1.216, allocations: 0 / 1.412 GB, free: 6.414 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.000611/1.216, allocations: 298.1 kB / 1.413 GB, free: 6.094 MB / 1.107 GB
Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.216, allocations: 15.95 kB / 1.413 GB, free: 6.078 MB / 1.107 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/1.216, allocations: 12.94 kB / 1.413 GB, free: 6.066 MB / 1.107 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/1.217, allocations: 106.5 kB / 1.413 GB, free: 5.938 MB / 1.107 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/1.217, allocations: 4.375 kB / 1.413 GB, free: 5.934 MB / 1.107 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/1.217, allocations: 16.08 kB / 1.413 GB, free: 5.918 MB / 1.107 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/1.217, allocations: 53.61 kB / 1.413 GB, free: 5.859 MB / 1.107 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.217, allocations: 0 / 1.413 GB, free: 5.859 MB / 1.107 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/1.217, allocations: 4 kB / 1.413 GB, free: 5.855 MB / 1.107 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/1.217, allocations: 4 kB / 1.413 GB, free: 5.852 MB / 1.107 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.124e-05/1.217, allocations: 15.98 kB / 1.413 GB, free: 5.836 MB / 1.107 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/1.217, allocations: 136.7 kB / 1.413 GB, free: 5.66 MB / 1.107 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/1.217, allocations: 46.56 kB / 1.413 GB, free: 5.605 MB / 1.107 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/1.217, allocations: 28.77 kB / 1.413 GB, free: 5.574 MB / 1.107 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0106/1.228, allocations: 2.868 MB / 1.416 GB, free: 2.703 MB / 1.107 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/1.228, allocations: 34.56 kB / 1.416 GB, free: 2.66 MB / 1.107 GB
Notification: Performance of pre-optimization done (n=7): time 1.903e-06/1.228, allocations: 0 / 1.416 GB, free: 2.66 MB / 1.107 GB
Notification: Performance of matching and sorting (n=11): time 0.04048/1.268, allocations: 14.91 MB / 1.43 GB, free: 3.609 MB / 1.123 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/1.268, allocations: 55.41 kB / 1.43 GB, free: 3.543 MB / 1.123 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/1.268, allocations: 97.86 kB / 1.43 GB, free: 3.438 MB / 1.123 GB
Notification: Performance of collectPreVariables (initialization): time 2.047e-05/1.268, allocations: 29.64 kB / 1.431 GB, free: 3.402 MB / 1.123 GB
Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/1.269, allocations: 84.14 kB / 1.431 GB, free: 3.316 MB / 1.123 GB
Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/1.269, allocations: 43.64 kB / 1.431 GB, free: 3.273 MB / 1.123 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/1.269, allocations: 29.7 kB / 1.431 GB, free: 3.238 MB / 1.123 GB
Notification: Performance of setup shared object (initialization): time 0.0001482/1.269, allocations: 318.8 kB / 1.431 GB, free: 2.918 MB / 1.123 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.767e-05/1.269, allocations: 23.98 kB / 1.431 GB, free: 2.895 MB / 1.123 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/1.269, allocations: 32.11 kB / 1.431 GB, free: 2.863 MB / 1.123 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/1.269, allocations: 64.05 kB / 1.431 GB, free: 2.801 MB / 1.123 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/1.269, allocations: 0 / 1.431 GB, free: 2.801 MB / 1.123 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002264/1.269, allocations: 105.6 kB / 1.431 GB, free: 2.691 MB / 1.123 GB
Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.269, allocations: 4 kB / 1.431 GB, free: 2.688 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/1.269, allocations: 4 kB / 1.431 GB, free: 2.684 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/1.269, allocations: 0 / 1.431 GB, free: 2.684 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/1.269, allocations: 23.98 kB / 1.431 GB, free: 2.66 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.269, allocations: 3.938 kB / 1.431 GB, free: 2.656 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/1.269, allocations: 8 kB / 1.431 GB, free: 2.648 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/1.269, allocations: 8 kB / 1.431 GB, free: 2.641 MB / 1.123 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 0.0001026/1.27, allocations: 121.7 kB / 1.431 GB, free: 2.512 MB / 1.123 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/1.27, allocations: 0 / 1.431 GB, free: 2.512 MB / 1.123 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/1.27, allocations: 125.5 kB / 1.431 GB, free: 2.383 MB / 1.123 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.27, allocations: 0 / 1.431 GB, free: 2.383 MB / 1.123 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.27, allocations: 8 kB / 1.431 GB, free: 2.375 MB / 1.123 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/1.27, allocations: 3.938 kB / 1.431 GB, free: 2.371 MB / 1.123 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/1.27, allocations: 152.7 kB / 1.432 GB, free: 2.18 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.27, allocations: 3.938 kB / 1.432 GB, free: 2.176 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/1.27, allocations: 23.98 kB / 1.432 GB, free: 2.152 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.27, allocations: 0 / 1.432 GB, free: 2.152 MB / 1.123 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/1.27, allocations: 4 kB / 1.432 GB, free: 2.148 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/1.27, allocations: 7.984 kB / 1.432 GB, free: 2.141 MB / 1.123 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.27, allocations: 0 / 1.432 GB, free: 2.141 MB / 1.123 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/1.271, allocations: 152.9 kB / 1.432 GB, free: 1.973 MB / 1.123 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/1.271, allocations: 15.98 kB / 1.432 GB, free: 1.957 MB / 1.123 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/1.271, allocations: 3.938 kB / 1.432 GB, free: 1.953 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/1.271, allocations: 15.98 kB / 1.432 GB, free: 1.938 MB / 1.123 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/1.271, allocations: 7.984 kB / 1.432 GB, free: 1.93 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.271, allocations: 4 kB / 1.432 GB, free: 1.926 MB / 1.123 GB
Notification: Performance of sorting global known variables: time 4.534e-05/1.271, allocations: 87.27 kB / 1.432 GB, free: 1.84 MB / 1.123 GB
Notification: Performance of sort global known variables: time 6e-08/1.271, allocations: 0 / 1.432 GB, free: 1.84 MB / 1.123 GB
Notification: Performance of remove unused functions: time 0.001931/1.273, allocations: 0.5583 MB / 1.432 GB, free: 1.281 MB / 1.123 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.002673/1.275, allocations: 350.9 kB / 1.433 GB, free: 0.9297 MB / 1.123 GB
Notification: Performance of simCode: created initialization part: time 0.0002055/1.276, allocations: 71.84 kB / 1.433 GB, free: 0.8594 MB / 1.123 GB
Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.276, allocations: 0 / 1.433 GB, free: 0.8594 MB / 1.123 GB
Notification: Performance of simCode: created simulation system equations: time 6.212e-05/1.276, allocations: 31.98 kB / 1.433 GB, free: 0.8281 MB / 1.123 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/1.276, allocations: 9.969 kB / 1.433 GB, free: 0.8203 MB / 1.123 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/1.277, allocations: 342.5 kB / 1.433 GB, free: 472 kB / 1.123 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/1.277, allocations: 0.6885 MB / 1.434 GB, free: 15.75 MB / 1.139 GB
Notification: Performance of simCode: alias equations: time 8.123e-05/1.277, allocations: 28.47 kB / 1.434 GB, free: 15.72 MB / 1.139 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/1.277, allocations: 15.44 kB / 1.434 GB, free: 15.7 MB / 1.139 GB
Notification: Performance of SimCode: time 5.51e-07/1.277, allocations: 0 / 1.434 GB, free: 15.7 MB / 1.139 GB
Notification: Performance of Templates: time 0.04186/1.319, allocations: 24.31 MB / 1.458 GB, free: 7.363 MB / 1.154 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.179375305771828]