Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00177/0.00177, 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.002109/0.002109, allocations: 192.4 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.488/1.488, 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 3.348/3.348, allocations: 496 MB / 0.7835 GB, free: 33.59 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-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.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_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 71.17 kB / 1.138 GB, free: 33.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3697, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001875/0.3716, allocations: 0.6185 MB / 1.308 GB, free: 1.188 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002667/0.3743, allocations: 1.744 MB / 1.31 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.3743, allocations: 0 / 1.31 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.3744, allocations: 0 / 1.31 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 3.511e-05/0.3744, allocations: 4 kB / 1.31 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009501/0.3753, allocations: 306.4 kB / 1.31 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002026/0.3755, allocations: 131.8 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.3756, allocations: 4 kB / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.3757, allocations: 47.95 kB / 1.31 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.3758, allocations: 55.81 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.3758, allocations: 12 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.3763, allocations: 347.6 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.3764, allocations: 35.91 kB / 1.311 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.3765, allocations: 47.7 kB / 1.311 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.3768, allocations: 271.3 kB / 1.311 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3768, allocations: 0 / 1.311 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.303e-06/0.3768, allocations: 0 / 1.311 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.172e-06/0.3768, allocations: 0 / 1.311 GB, free: 14.19 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.0007079/0.3776, allocations: 377.7 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3776, allocations: 15.97 kB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.3777, allocations: 16.83 kB / 1.311 GB, free: 13.76 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3778, allocations: 114.4 kB / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.3778, allocations: 8.375 kB / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.3778, allocations: 16.12 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.3782, allocations: 222.6 kB / 1.312 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3782, allocations: 0 / 1.312 GB, free: 13.36 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.3782, allocations: 8 kB / 1.312 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3782, allocations: 4 kB / 1.312 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.3785, allocations: 175.7 kB / 1.312 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.3788, allocations: 253.2 kB / 1.312 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.3796, allocations: 387.8 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.3798, allocations: 169.1 kB / 1.313 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.3801, allocations: 44.95 kB / 1.313 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3802, allocations: 46.5 kB / 1.313 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.3802, allocations: 0 / 1.313 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of matching and sorting (n=30): time 0.0006943/0.3809, allocations: 377.3 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.381, allocations: 187.9 kB / 1.313 GB, free: 11.55 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/0.3811, allocations: 97.84 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3811, allocations: 33.7 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.3811, allocations: 84.77 kB / 1.313 GB, free: 11.32 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3812, allocations: 107.1 kB / 1.313 GB, free: 11.22 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/0.3813, allocations: 57.69 kB / 1.314 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001372/0.3815, allocations: 318.8 kB / 1.314 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3816, allocations: 85.44 kB / 1.314 GB, free: 10.75 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.3818, allocations: 137.1 kB / 1.314 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.3822, allocations: 268.9 kB / 1.314 GB, free: 10.32 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3822, allocations: 0 / 1.314 GB, free: 10.32 MB / 1.014 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004605/0.3826, allocations: 293.4 kB / 1.315 GB, free: 10.03 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3826, allocations: 4 kB / 1.315 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.3827, allocations: 4 kB / 1.315 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3827, allocations: 3.938 kB / 1.315 GB, free: 10.02 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.3829, allocations: 63.84 kB / 1.315 GB, free: 9.953 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.3829, allocations: 11.97 kB / 1.315 GB, free: 9.941 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.559e-05/0.383, allocations: 19.89 kB / 1.315 GB, free: 9.922 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.383, allocations: 8 kB / 1.315 GB, free: 9.914 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.0001279/0.3832, allocations: 141.7 kB / 1.315 GB, free: 9.766 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.3832, allocations: 19.84 kB / 1.315 GB, free: 9.746 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006467/0.3839, allocations: 361.3 kB / 1.315 GB, free: 9.387 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.3839, allocations: 4 kB / 1.315 GB, free: 9.383 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.3839, allocations: 8 kB / 1.315 GB, free: 9.375 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3839, allocations: 3.984 kB / 1.315 GB, free: 9.371 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.3841, allocations: 228.5 kB / 1.315 GB, free: 9.105 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3842, allocations: 4 kB / 1.315 GB, free: 9.102 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.3844, allocations: 55.91 kB / 1.315 GB, free: 9.047 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3844, allocations: 4 kB / 1.315 GB, free: 9.043 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.3844, allocations: 11.98 kB / 1.315 GB, free: 9.031 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3844, allocations: 4 kB / 1.315 GB, free: 9.027 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3844, allocations: 0 / 1.315 GB, free: 9.027 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.3849, allocations: 345.5 kB / 1.316 GB, free: 8.656 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.385, allocations: 43.84 kB / 1.316 GB, free: 8.613 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.385, allocations: 4 kB / 1.316 GB, free: 8.609 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.3851, allocations: 8 kB / 1.316 GB, free: 8.602 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.3852, allocations: 27.95 kB / 1.316 GB, free: 8.574 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.3852, allocations: 15.98 kB / 1.316 GB, free: 8.559 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.788e-05/0.3853, allocations: 79.28 kB / 1.316 GB, free: 8.48 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1e-07/0.3853, allocations: 0 / 1.316 GB, free: 8.48 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0004034/0.3857, allocations: 91.86 kB / 1.316 GB, free: 8.391 MB / 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.0005434/0.3862, allocations: 207.3 kB / 1.316 GB, free: 8.184 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004238/0.3866, allocations: 240.5 kB / 1.316 GB, free: 7.949 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3866, allocations: 7.938 kB / 1.316 GB, free: 7.941 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.3868, allocations: 128.2 kB / 1.317 GB, free: 7.816 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.387, allocations: 19.88 kB / 1.317 GB, free: 7.797 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.3876, allocations: 366.4 kB / 1.317 GB, free: 7.395 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.3879, allocations: 0.7085 MB / 1.318 GB, free: 6.656 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0002335/0.3882, allocations: 109.3 kB / 1.318 GB, free: 6.551 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.3882, allocations: 31.42 kB / 1.318 GB, free: 6.52 MB / 1.014 GB
Notification: Performance of SimCode: time 2.9e-07/0.3882, allocations: 0 / 1.318 GB, free: 6.52 MB / 1.014 GB
Notification: Performance of Templates: time 0.006308/0.3945, allocations: 2.702 MB / 1.32 GB, free: 3.816 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.391943723894656]