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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002229/0.002229, allocations: 218 kB / 22.25 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.623/1.623, allocations: 230.6 MB / 256 MB, free: 7.805 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 3.014/3.014, allocations: 476 MB / 0.7699 GB, free: 4.762 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 66.33 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4327, allocations: 169.9 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002424/0.4351, allocations: 0.6119 MB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003022/0.4381, allocations: 1.726 MB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.4381, allocations: 0 / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.387e-05/0.4382, allocations: 7.922 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.703e-05/0.4382, allocations: 4 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009657/0.4392, allocations: 306.7 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.4394, allocations: 127.9 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.741e-05/0.4395, allocations: 7.984 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.11e-05/0.4396, allocations: 51.89 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.4397, allocations: 51.92 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.4397, allocations: 8 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005554/0.4403, allocations: 327.6 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.4403, allocations: 43.89 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.4404, allocations: 39.78 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.4408, allocations: 283.2 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4408, allocations: 4 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4408, allocations: 0 / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.4408, allocations: 3.938 kB / 1.287 GB, free: 8.355 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.0006814/0.4415, allocations: 377.7 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4415, allocations: 15.97 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.4416, allocations: 8.891 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.4417, allocations: 114.5 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4417, allocations: 8.375 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.4418, allocations: 20.12 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.4422, allocations: 223.9 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4422, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.4422, allocations: 4 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.4422, allocations: 4 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.4425, allocations: 175.7 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.4428, allocations: 209.8 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.4436, allocations: 383.8 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.4438, allocations: 169.2 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.4441, allocations: 40.97 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.4441, allocations: 46.44 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/0.4441, allocations: 0 / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007235/0.4449, allocations: 385.6 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.445, allocations: 195.8 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.854e-05/0.4451, allocations: 97.86 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.4451, allocations: 29.7 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.4451, allocations: 80.77 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4453, allocations: 107.1 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/0.4453, allocations: 57.69 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4455, allocations: 322.8 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.4457, allocations: 83.92 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.4458, allocations: 137.6 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.4462, allocations: 266 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4462, allocations: 0 / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004684/0.4467, allocations: 289.7 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4467, allocations: 4 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4467, allocations: 4 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4467, allocations: 4 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.447, allocations: 67.89 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.447, allocations: 4 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.476e-05/0.4471, allocations: 19.84 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.4471, allocations: 11.98 kB / 1.29 GB, free: 4.145 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.0001375/0.4472, allocations: 137.7 kB / 1.29 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.4473, allocations: 19.89 kB / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006344/0.4479, allocations: 360.8 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4479, allocations: 4 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4479, allocations: 3.938 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.4479, allocations: 8 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.4482, allocations: 181.1 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.4482, allocations: 7.984 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.4484, allocations: 55.91 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.4484, allocations: 7.938 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.4484, allocations: 11.98 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.4484, allocations: 4.375 kB / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4484, allocations: 0 / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005208/0.449, allocations: 345.1 kB / 1.291 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4491, allocations: 43.8 kB / 1.291 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.4491, allocations: 11.94 kB / 1.291 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/0.4492, allocations: 12 kB / 1.291 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.4492, allocations: 27.89 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.4493, allocations: 8 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.027e-05/0.4493, allocations: 87.27 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4493, allocations: 0 / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004092/0.4497, allocations: 95.81 kB / 1.292 GB, free: 2.66 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.0004279/0.4502, allocations: 198.9 kB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.4506, allocations: 243.8 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4506, allocations: 4 kB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.4508, allocations: 127.8 kB / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.451, allocations: 19.92 kB / 1.292 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/0.4516, allocations: 347.8 kB / 1.293 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.4517, allocations: 103.8 kB / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002385/0.452, allocations: 109.3 kB / 1.293 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.452, allocations: 27.42 kB / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.452, allocations: 0 / 1.293 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of Templates: time 0.006665/0.4587, allocations: 2.55 MB / 1.295 GB, free: 14.89 MB / 0.9981 GB " [Timeout remaining time 299] 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: 10.433707730844617]