Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002042/0.002042, 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.003202/0.003202, allocations: 190.9 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.548/1.548, allocations: 225.6 MB / 251 MB, free: 13.03 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 3.27/3.27, allocations: 0.4893 GB / 0.7884 GB, free: 33.33 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 64.89 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4502, allocations: 174.9 MB / 1.316 GB, free: 9.707 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001999/0.4522, allocations: 0.6044 MB / 1.317 GB, free: 9.105 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002983/0.4552, allocations: 1.755 MB / 1.318 GB, free: 7.332 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.4552, allocations: 0 / 1.318 GB, free: 7.332 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.4553, allocations: 0 / 1.318 GB, free: 7.332 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 3.908e-05/0.4553, allocations: 3.938 kB / 1.318 GB, free: 7.328 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.4564, allocations: 302.6 kB / 1.319 GB, free: 7.035 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.000234/0.4566, allocations: 131.8 kB / 1.319 GB, free: 6.906 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.4567, allocations: 3.938 kB / 1.319 GB, free: 6.902 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/0.4568, allocations: 55.89 kB / 1.319 GB, free: 6.848 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.4569, allocations: 51.94 kB / 1.319 GB, free: 6.797 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.4569, allocations: 4 kB / 1.319 GB, free: 6.793 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006333/0.4576, allocations: 352.6 kB / 1.319 GB, free: 6.449 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.4576, allocations: 35.91 kB / 1.319 GB, free: 6.414 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.4577, allocations: 51.7 kB / 1.319 GB, free: 6.363 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.4582, allocations: 275.2 kB / 1.32 GB, free: 6.094 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4582, allocations: 0 / 1.32 GB, free: 6.094 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.053e-06/0.4582, allocations: 0 / 1.32 GB, free: 6.094 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.63e-06/0.4582, allocations: 0 / 1.32 GB, free: 6.094 MB / 1.014 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.0007852/0.459, allocations: 373.8 kB / 1.32 GB, free: 5.699 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.459, allocations: 8.031 kB / 1.32 GB, free: 5.691 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.4591, allocations: 12.84 kB / 1.32 GB, free: 5.68 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.4592, allocations: 118.4 kB / 1.32 GB, free: 5.539 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4592, allocations: 12.38 kB / 1.32 GB, free: 5.527 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.4592, allocations: 16.12 kB / 1.32 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.4597, allocations: 222.6 kB / 1.32 GB, free: 5.27 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4597, allocations: 0 / 1.32 GB, free: 5.27 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.4597, allocations: 4 kB / 1.32 GB, free: 5.266 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.4597, allocations: 4 kB / 1.32 GB, free: 5.262 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.46, allocations: 175.8 kB / 1.32 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.4604, allocations: 249.2 kB / 1.321 GB, free: 4.789 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/0.4612, allocations: 391.8 kB / 1.321 GB, free: 4.352 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.4615, allocations: 173.1 kB / 1.321 GB, free: 4.164 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.4618, allocations: 52.89 kB / 1.321 GB, free: 4.109 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.4619, allocations: 42.56 kB / 1.321 GB, free: 4.059 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=30): time 1.322e-06/0.4619, allocations: 0 / 1.321 GB, free: 4.059 MB / 1.014 GB
Notification: Performance of matching and sorting (n=30): time 0.0007421/0.4626, allocations: 381.2 kB / 1.322 GB, free: 3.68 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.4627, allocations: 187.9 kB / 1.322 GB, free: 3.453 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.4628, allocations: 93.84 kB / 1.322 GB, free: 3.352 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3e-05/0.4628, allocations: 29.7 kB / 1.322 GB, free: 3.316 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.4629, allocations: 80.77 kB / 1.322 GB, free: 3.234 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.463, allocations: 115.1 kB / 1.322 GB, free: 3.121 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.646e-05/0.4631, allocations: 53.69 kB / 1.322 GB, free: 3.062 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001595/0.4633, allocations: 326.8 kB / 1.323 GB, free: 2.734 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.4635, allocations: 87.88 kB / 1.323 GB, free: 2.648 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.4636, allocations: 142.6 kB / 1.323 GB, free: 2.492 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.4641, allocations: 257 kB / 1.323 GB, free: 2.223 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4641, allocations: 4 kB / 1.323 GB, free: 2.219 MB / 1.014 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005028/0.4646, allocations: 289.4 kB / 1.323 GB, free: 1.93 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4646, allocations: 8 kB / 1.323 GB, free: 1.922 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4646, allocations: 3.938 kB / 1.323 GB, free: 1.918 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4646, allocations: 4 kB / 1.323 GB, free: 1.914 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.4649, allocations: 59.89 kB / 1.323 GB, free: 1.855 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.4649, allocations: 4 kB / 1.323 GB, free: 1.852 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-05/0.465, allocations: 19.89 kB / 1.323 GB, free: 1.832 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.465, allocations: 8 kB / 1.323 GB, free: 1.824 MB / 1.014 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.0001488/0.4652, allocations: 142.6 kB / 1.324 GB, free: 1.676 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.4652, allocations: 19.84 kB / 1.324 GB, free: 1.656 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006895/0.4659, allocations: 361.4 kB / 1.324 GB, free: 1.297 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.4659, allocations: 4 kB / 1.324 GB, free: 1.293 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4659, allocations: 0 / 1.324 GB, free: 1.293 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.4659, allocations: 7.984 kB / 1.324 GB, free: 1.285 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.4662, allocations: 232.4 kB / 1.324 GB, free: 1.016 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4662, allocations: 4 kB / 1.324 GB, free: 1.012 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.4665, allocations: 63.89 kB / 1.324 GB, free: 0.9492 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4665, allocations: 0 / 1.324 GB, free: 0.9492 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.4665, allocations: 12 kB / 1.324 GB, free: 0.9375 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4665, allocations: 0 / 1.324 GB, free: 0.9375 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4665, allocations: 4 kB / 1.324 GB, free: 0.9336 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.467, allocations: 341.6 kB / 1.325 GB, free: 0.5664 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.4672, allocations: 39.86 kB / 1.325 GB, free: 0.5273 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.4672, allocations: 8 kB / 1.325 GB, free: 0.5195 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.4673, allocations: 8 kB / 1.325 GB, free: 0.5117 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.4673, allocations: 23.95 kB / 1.325 GB, free: 500 kB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.4674, allocations: 19.98 kB / 1.325 GB, free: 480 kB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.445e-05/0.4674, allocations: 75.28 kB / 1.325 GB, free: 404 kB / 1.014 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.4674, allocations: 0 / 1.325 GB, free: 404 kB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0004327/0.4678, allocations: 99.8 kB / 1.325 GB, free: 304 kB / 1.014 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.0005845/0.4684, allocations: 204.2 kB / 1.325 GB, free: 96 kB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005083/0.4689, allocations: 248.6 kB / 1.325 GB, free: 15.85 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4689, allocations: 0 / 1.325 GB, free: 15.85 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.4692, allocations: 144.4 kB / 1.325 GB, free: 15.71 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.4693, allocations: 8 kB / 1.325 GB, free: 15.7 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000647/0.47, allocations: 354.5 kB / 1.326 GB, free: 15.31 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.4704, allocations: 0.7124 MB / 1.326 GB, free: 14.57 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0002661/0.4707, allocations: 113.3 kB / 1.327 GB, free: 14.46 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.4707, allocations: 27.42 kB / 1.327 GB, free: 14.43 MB / 1.029 GB
Notification: Performance of SimCode: time 3.2e-07/0.4707, allocations: 0 / 1.327 GB, free: 14.43 MB / 1.029 GB
Notification: Performance of Templates: time 0.006815/0.4775, allocations: 2.707 MB / 1.329 GB, free: 11.73 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.59228198416531]