Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.001453/0.001453, 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.002014/0.002014, allocations: 192.9 kB / 22.23 MB, free: 5.156 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.476/1.476, 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 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.938/2.938, allocations: 476.7 MB / 0.7646 GB, free: 9.918 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.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ")
translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 66.3 kB / 1.11 GB, free: 11.85 MB / 0.8419 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4455, allocations: 168.8 MB / 1.274 GB, free: 10.9 MB / 0.9825 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002475/0.448, allocations: 0.5874 MB / 1.275 GB, free: 10.31 MB / 0.9825 GB
Notification: Performance of NFInst.instExpressions: time 0.003517/0.4515, allocations: 1.753 MB / 1.277 GB, free: 8.543 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.4516, allocations: 4 kB / 1.277 GB, free: 8.539 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 5.019e-05/0.4516, allocations: 0 / 1.277 GB, free: 8.539 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 5.385e-05/0.4517, allocations: 3.938 kB / 1.277 GB, free: 8.535 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.4532, allocations: 315.6 kB / 1.277 GB, free: 8.23 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.0002941/0.4535, allocations: 131.8 kB / 1.277 GB, free: 8.102 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.683e-05/0.4535, allocations: 7.984 kB / 1.277 GB, free: 8.094 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.4536, allocations: 47.91 kB / 1.277 GB, free: 8.047 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.4538, allocations: 59.92 kB / 1.277 GB, free: 7.988 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.4538, allocations: 4 kB / 1.277 GB, free: 7.984 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006478/0.4545, allocations: 339.6 kB / 1.278 GB, free: 7.652 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.4546, allocations: 39.89 kB / 1.278 GB, free: 7.613 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 9.128e-05/0.4546, allocations: 51.7 kB / 1.278 GB, free: 7.562 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.4552, allocations: 267.3 kB / 1.278 GB, free: 7.301 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4552, allocations: 3.938 kB / 1.278 GB, free: 7.297 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 3.257e-06/0.4552, allocations: 0 / 1.278 GB, free: 7.297 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 1.659e-05/0.4552, allocations: 0 / 1.278 GB, free: 7.297 MB / 0.9825 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 30
 * Number of variables: 30
Notification: Performance of Generate backend data structure: time 0.0009159/0.4561, allocations: 377.8 kB / 1.278 GB, free: 6.898 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 6.562e-05/0.4562, allocations: 8.031 kB / 1.278 GB, free: 6.891 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.058e-05/0.4562, allocations: 8.891 kB / 1.278 GB, free: 6.883 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.4564, allocations: 122.3 kB / 1.278 GB, free: 6.738 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.4564, allocations: 12.38 kB / 1.278 GB, free: 6.727 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.4565, allocations: 16.12 kB / 1.278 GB, free: 6.711 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.4569, allocations: 222.6 kB / 1.279 GB, free: 6.469 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.457, allocations: 0 / 1.279 GB, free: 6.469 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.457, allocations: 8 kB / 1.279 GB, free: 6.461 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.457, allocations: 4 kB / 1.279 GB, free: 6.457 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.4573, allocations: 175.8 kB / 1.279 GB, free: 6.285 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.4578, allocations: 253.2 kB / 1.279 GB, free: 5.98 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/0.4586, allocations: 383.8 kB / 1.279 GB, free: 5.551 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.4589, allocations: 169.1 kB / 1.28 GB, free: 5.367 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004183/0.4593, allocations: 48.95 kB / 1.28 GB, free: 5.32 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.4593, allocations: 38.55 kB / 1.28 GB, free: 5.273 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.4593, allocations: 0 / 1.28 GB, free: 5.273 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=30): time 0.0007591/0.4601, allocations: 390.4 kB / 1.28 GB, free: 4.887 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.4602, allocations: 187.9 kB / 1.28 GB, free: 4.66 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.4603, allocations: 101.8 kB / 1.28 GB, free: 4.551 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.4604, allocations: 29.7 kB / 1.28 GB, free: 4.516 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.4604, allocations: 80.64 kB / 1.28 GB, free: 4.43 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.4605, allocations: 107.1 kB / 1.28 GB, free: 4.324 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.772e-05/0.4606, allocations: 57.69 kB / 1.281 GB, free: 4.262 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001473/0.4608, allocations: 318.8 kB / 1.281 GB, free: 3.941 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4609, allocations: 87.92 kB / 1.281 GB, free: 3.855 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.4611, allocations: 145.1 kB / 1.281 GB, free: 3.695 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.4616, allocations: 253.3 kB / 1.281 GB, free: 3.43 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4616, allocations: 0 / 1.281 GB, free: 3.43 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004748/0.462, allocations: 293.3 kB / 1.282 GB, free: 3.137 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4621, allocations: 4 kB / 1.282 GB, free: 3.133 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4621, allocations: 8 kB / 1.282 GB, free: 3.125 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.4621, allocations: 4 kB / 1.282 GB, free: 3.121 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.4623, allocations: 55.89 kB / 1.282 GB, free: 3.066 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.4623, allocations: 4 kB / 1.282 GB, free: 3.062 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.4624, allocations: 16.27 kB / 1.282 GB, free: 3.047 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.4625, allocations: 15.98 kB / 1.282 GB, free: 3.031 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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 (30):
 * Single equations (assignments): 30
 * 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.0001439/0.4626, allocations: 133.8 kB / 1.282 GB, free: 2.891 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.4627, allocations: 23.83 kB / 1.282 GB, free: 2.867 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006509/0.4633, allocations: 368.8 kB / 1.282 GB, free: 2.5 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4633, allocations: 8 kB / 1.282 GB, free: 2.492 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4633, allocations: 0 / 1.282 GB, free: 2.492 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4633, allocations: 3.984 kB / 1.282 GB, free: 2.488 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.4636, allocations: 224.5 kB / 1.282 GB, free: 2.227 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4636, allocations: 4 kB / 1.282 GB, free: 2.223 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.4638, allocations: 51.91 kB / 1.282 GB, free: 2.172 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4638, allocations: 4 kB / 1.282 GB, free: 2.168 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.4639, allocations: 11.98 kB / 1.282 GB, free: 2.156 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4639, allocations: 4 kB / 1.282 GB, free: 2.152 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4639, allocations: 4 kB / 1.283 GB, free: 2.148 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.4644, allocations: 357.9 kB / 1.283 GB, free: 1.766 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4645, allocations: 43.84 kB / 1.283 GB, free: 1.723 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.4645, allocations: 12 kB / 1.283 GB, free: 1.711 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.4646, allocations: 4 kB / 1.283 GB, free: 1.707 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.4647, allocations: 27.89 kB / 1.283 GB, free: 1.68 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.4647, allocations: 15.98 kB / 1.283 GB, free: 1.664 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 4.296e-05/0.4647, allocations: 75.28 kB / 1.283 GB, free: 1.59 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.4647, allocations: 0 / 1.283 GB, free: 1.59 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0004481/0.4652, allocations: 95.86 kB / 1.283 GB, free: 1.496 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * 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 simulation (30):
 * Single equations (assignments): 30
 * 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.0005512/0.4657, allocations: 219.9 kB / 1.283 GB, free: 1.277 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0004442/0.4662, allocations: 239.9 kB / 1.284 GB, free: 1.043 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4662, allocations: 0 / 1.284 GB, free: 1.043 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.000197/0.4664, allocations: 123.8 kB / 1.284 GB, free: 0.9219 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.4666, allocations: 19.98 kB / 1.284 GB, free: 0.9023 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/0.4672, allocations: 359.9 kB / 1.284 GB, free: 0.5117 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.4676, allocations: 0.7124 MB / 1.285 GB, free: 15.77 MB / 0.9981 GB
Notification: Performance of simCode: alias equations: time 0.0002307/0.4678, allocations: 105.4 kB / 1.285 GB, free: 15.67 MB / 0.9981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.4679, allocations: 31.42 kB / 1.285 GB, free: 15.64 MB / 0.9981 GB
Notification: Performance of SimCode: time 3.91e-07/0.4679, allocations: 0 / 1.285 GB, free: 15.64 MB / 0.9981 GB
Notification: Performance of Templates: time 0.007315/0.4752, allocations: 2.717 MB / 1.288 GB, free: 12.92 MB / 0.9981 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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: 9.496404175646603]