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.001051/0.001051, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008619/0.008619, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.764/2.764, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004009, allocations: 11.72 kB / 0.9028 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3959, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0008541/0.3968, allocations: 330.8 kB / 1.059 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002564/0.3994, allocations: 1.767 MB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.3994, allocations: 4 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.3995, allocations: 0 / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.762e-05/0.3995, allocations: 0 / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008324/0.4004, allocations: 254 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.4005, allocations: 123.9 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.151e-05/0.4006, allocations: 3.984 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.4007, allocations: 47.91 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.4008, allocations: 55.92 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.4008, allocations: 4 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.4013, allocations: 295.6 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.4014, allocations: 35.91 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.4015, allocations: 73.42 kB / 1.062 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.4019, allocations: 275.5 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4019, allocations: 0 / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.498e-06/0.4019, allocations: 3.938 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4019, allocations: 3.938 kB / 1.062 GB, free: 2.23 MB / 0.8106 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.000674/0.4026, allocations: 419.6 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4026, allocations: 16.03 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.4027, allocations: 8.844 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.4028, allocations: 168.3 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4028, allocations: 8.375 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.4029, allocations: 20.06 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.4032, allocations: 219.2 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4032, allocations: 0 / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.4033, allocations: 4 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.4033, allocations: 4 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.4035, allocations: 179.7 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.4039, allocations: 274.1 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.4046, allocations: 407.8 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.4048, allocations: 193.1 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.4052, allocations: 199.1 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4053, allocations: 46.5 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.4053, allocations: 0 / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006476/0.4059, allocations: 385.2 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.406, allocations: 183.9 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.4061, allocations: 97.84 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.4061, allocations: 33.7 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.4062, allocations: 80.7 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.347e-05/0.4063, allocations: 102.6 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.4063, allocations: 33.7 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4064, allocations: 318.8 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.4066, allocations: 83.92 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.4067, allocations: 141.1 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.4071, allocations: 270.3 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.4071, allocations: 0 / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004014/0.4075, allocations: 289.6 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4075, allocations: 4 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.4075, allocations: 8 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.4075, allocations: 0 / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.4078, allocations: 59.91 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.4078, allocations: 4 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.019e-05/0.4079, allocations: 15.84 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.4079, allocations: 11.98 kB / 1.066 GB, free: 13.62 MB / 0.8262 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.0001243/0.4081, allocations: 141.8 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.4081, allocations: 23.73 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005678/0.4087, allocations: 356.8 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4087, allocations: 4 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4087, allocations: 4 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4087, allocations: 3.984 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.409, allocations: 253.3 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.409, allocations: 8 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.4092, allocations: 55.91 kB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.4092, allocations: 4.375 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.4092, allocations: 11.98 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.4092, allocations: 8 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4092, allocations: 0 / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.4097, allocations: 345 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.4098, allocations: 120.9 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.4098, allocations: 4 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.4099, allocations: 8 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.4099, allocations: 23.97 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.41, allocations: 11.98 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.41, allocations: 79.28 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.41, allocations: 0 / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000392/0.4104, allocations: 99.98 kB / 1.067 GB, free: 11.96 MB / 0.8262 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.0005604/0.411, allocations: 219.2 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.4114, allocations: 251.6 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4114, allocations: 4.094 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.4116, allocations: 140.7 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.4118, allocations: 16 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.4124, allocations: 397.6 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.4126, allocations: 0.7088 MB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002291/0.4129, allocations: 109.4 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.4129, allocations: 31.41 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4129, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.005593/0.4185, allocations: 2.481 MB / 1.072 GB, free: 7.559 MB / 0.8262 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