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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01027/0.01027, allocations: 103.4 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 188.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.84 kB / 1.054 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.01, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001878/1.012, allocations: 0.6048 MB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002422/1.014, allocations: 1.726 MB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/1.014, allocations: 0 / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/1.014, allocations: 4 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.678e-05/1.014, allocations: 0 / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009047/1.015, allocations: 304.6 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/1.016, allocations: 131.9 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/1.016, allocations: 7.984 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.181e-05/1.016, allocations: 43.97 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/1.016, allocations: 63.84 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/1.016, allocations: 4 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/1.016, allocations: 335.6 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/1.016, allocations: 39.89 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/1.016, allocations: 47.73 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003511/1.017, allocations: 283.2 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.017, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/1.017, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.601e-06/1.017, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 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.0006893/1.018, allocations: 445.1 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/1.018, allocations: 8.031 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/1.018, allocations: 12.75 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/1.018, allocations: 176.3 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/1.018, allocations: 8.375 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/1.018, allocations: 16.12 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/1.018, allocations: 219.9 kB / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.018, allocations: 0 / 1.212 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/1.018, allocations: 8 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/1.018, allocations: 8 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/1.018, allocations: 175.7 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/1.019, allocations: 274.1 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/1.02, allocations: 411.8 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/1.02, allocations: 185.1 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003281/1.02, allocations: 195.2 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/1.02, allocations: 42.5 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/1.02, allocations: 0 / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.000648/1.021, allocations: 389.4 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/1.021, allocations: 191.9 kB / 1.214 GB, free: 7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.224e-05/1.021, allocations: 93.86 kB / 1.214 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/1.021, allocations: 29.7 kB / 1.214 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/1.021, allocations: 80.7 kB / 1.214 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/1.021, allocations: 102.5 kB / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/1.021, allocations: 57.69 kB / 1.214 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.021, allocations: 327 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/1.021, allocations: 83.92 kB / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/1.022, allocations: 137.6 kB / 1.215 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/1.022, allocations: 266.2 kB / 1.215 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.022, allocations: 4 kB / 1.215 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004495/1.022, allocations: 289.5 kB / 1.215 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.023, allocations: 4 kB / 1.215 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.023, allocations: 4.062 kB / 1.215 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/1.023, allocations: 8 kB / 1.215 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/1.023, allocations: 59.89 kB / 1.215 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.023, allocations: 4 kB / 1.215 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.119e-05/1.023, allocations: 15.84 kB / 1.215 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/1.023, allocations: 15.92 kB / 1.215 GB, free: 5.375 MB / 0.9356 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.0001233/1.023, allocations: 141.7 kB / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/1.023, allocations: 11.84 kB / 1.216 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005808/1.024, allocations: 364.7 kB / 1.216 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/1.024, allocations: 7.938 kB / 1.216 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.024, allocations: 4 kB / 1.216 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/1.024, allocations: 0 / 1.216 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/1.024, allocations: 257.3 kB / 1.216 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.024, allocations: 4 kB / 1.216 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/1.024, allocations: 55.95 kB / 1.216 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.024, allocations: 11.94 kB / 1.216 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/1.024, allocations: 8.359 kB / 1.216 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/1.024, allocations: 4 kB / 1.216 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.024, allocations: 4 kB / 1.216 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/1.025, allocations: 345 kB / 1.217 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/1.025, allocations: 120.9 kB / 1.217 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/1.025, allocations: 4 kB / 1.217 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/1.025, allocations: 8 kB / 1.217 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/1.025, allocations: 23.97 kB / 1.217 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/1.025, allocations: 11.98 kB / 1.217 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.059e-05/1.025, allocations: 75.28 kB / 1.217 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.025, allocations: 4.094 kB / 1.217 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003635/1.025, allocations: 99.98 kB / 1.217 GB, free: 3.723 MB / 0.9356 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.0005047/1.026, allocations: 206.6 kB / 1.217 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004107/1.026, allocations: 255.6 kB / 1.217 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.026, allocations: 0 / 1.217 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/1.027, allocations: 148.8 kB / 1.217 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/1.027, allocations: 8 kB / 1.217 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/1.027, allocations: 359 kB / 1.218 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/1.028, allocations: 0.7202 MB / 1.219 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002043/1.028, allocations: 105.4 kB / 1.219 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/1.028, allocations: 31.36 kB / 1.219 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/1.028, allocations: 4 kB / 1.219 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of Templates: time 0.005547/1.034, allocations: 2.583 MB / 1.221 GB, free: 15.25 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) 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) Reference file matches