Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_9_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_9_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.001244/0.001244, allocations: 107.1 kB / 16.41 MB, free: 6.406 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.001263/0.001263, allocations: 191.2 kB / 17.34 MB, free: 5.695 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 71.89 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9616/0.9631, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001704/0.9649, allocations: 0.5928 MB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002418/0.9673, allocations: 1.718 MB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.9674, allocations: 1.031 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.464e-05/0.9674, allocations: 1.266 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.354e-05/0.9675, allocations: 0 / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.9685, allocations: 308.6 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.9687, allocations: 130.2 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.9688, allocations: 3.594 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.783e-05/0.9689, allocations: 51.59 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.969, allocations: 59.12 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.969, allocations: 4.656 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006374/0.9697, allocations: 341 kB / 1.092 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.9697, allocations: 40.39 kB / 1.092 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.9698, allocations: 46.67 kB / 1.092 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.9703, allocations: 274.2 kB / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9703, allocations: 0 / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9703, allocations: 1.438 kB / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.9703, allocations: 0 / 1.092 GB, free: 3.508 MB / 0.8575 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.0006475/0.971, allocations: 446.5 kB / 1.093 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.971, allocations: 9.438 kB / 1.093 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.9711, allocations: 14.14 kB / 1.093 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.73e-05/0.9712, allocations: 175.3 kB / 1.093 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.9712, allocations: 9.609 kB / 1.093 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.9712, allocations: 12 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.9716, allocations: 215.4 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.9716, allocations: 4 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.9717, allocations: 6.312 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.9717, allocations: 2.906 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.972, allocations: 183.8 kB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.9723, allocations: 283.6 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007768/0.9731, allocations: 418.5 kB / 1.094 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.9734, allocations: 181.3 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/0.9738, allocations: 198 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.9738, allocations: 42.36 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.9738, allocations: 4.875 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0007207/0.9745, allocations: 378.3 kB / 1.095 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.9746, allocations: 188.8 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.426e-05/0.9746, allocations: 96.09 kB / 1.095 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.9747, allocations: 31.33 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.313e-05/0.9747, allocations: 81.55 kB / 1.095 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.9748, allocations: 99.58 kB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.538e-05/0.9748, allocations: 60.83 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.9749, allocations: 325.5 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.9751, allocations: 84.67 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.9753, allocations: 137.1 kB / 1.096 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.9757, allocations: 267.4 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.9757, allocations: 1.125 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004691/0.9762, allocations: 286.2 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.9762, allocations: 7.391 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.9762, allocations: 1.219 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.9763, allocations: 6.25 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.9765, allocations: 60.5 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.9765, allocations: 2.625 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.003e-05/0.9766, allocations: 20.83 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.9767, allocations: 11.55 kB / 1.096 GB, free: 0.5273 MB / 0.8575 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.0001014/0.9768, allocations: 142.5 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.9768, allocations: 14.19 kB / 1.096 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/0.9775, allocations: 363.5 kB / 1.097 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.9775, allocations: 4.75 kB / 1.097 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.9775, allocations: 2.094 kB / 1.097 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.9775, allocations: 3.547 kB / 1.097 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.9778, allocations: 257.2 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.9778, allocations: 5.75 kB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.978, allocations: 60 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.978, allocations: 2.906 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.9781, allocations: 11.47 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.9781, allocations: 3.766 kB / 1.097 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9781, allocations: 5.781 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.9786, allocations: 343.9 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.9787, allocations: 119 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.9788, allocations: 7.75 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.9789, allocations: 7.641 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.9789, allocations: 22.56 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.979, allocations: 15.42 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.979, allocations: 81.02 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.979, allocations: 0 / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005355/0.9796, allocations: 96.59 kB / 1.098 GB, free: 15.59 MB / 0.8731 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.0005589/0.9801, allocations: 219.4 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004834/0.9806, allocations: 249.3 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9806, allocations: 4.094 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.9809, allocations: 141.1 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.9811, allocations: 18.25 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.9817, allocations: 373.8 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.982, allocations: 0.7167 MB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.9821, allocations: 39.95 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.9822, allocations: 0 / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.007724/0.9899, allocations: 2.892 MB / 1.102 GB, free: 14.15 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches