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.001543/0.001543, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.00157/0.001571, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.13 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.311/2.311, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 71.88 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.025, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00194/1.027, allocations: 0.595 MB / 1.089 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002572/1.03, allocations: 1.715 MB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/1.03, allocations: 0 / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/1.03, allocations: 5.656 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/1.03, allocations: 3.938 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/1.031, allocations: 310.6 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/1.031, allocations: 135.1 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/1.031, allocations: 3.797 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.664e-05/1.031, allocations: 43 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/1.031, allocations: 62.94 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/1.031, allocations: 5.469 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006419/1.032, allocations: 341.4 kB / 1.092 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/1.032, allocations: 43.02 kB / 1.092 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/1.032, allocations: 43.22 kB / 1.092 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004938/1.033, allocations: 268.5 kB / 1.092 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.033, allocations: 0 / 1.092 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/1.033, allocations: 4 kB / 1.092 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.033, allocations: 1.094 kB / 1.092 GB, free: 3.77 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.0006671/1.033, allocations: 449.1 kB / 1.093 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.033, allocations: 8.938 kB / 1.093 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/1.033, allocations: 14.06 kB / 1.093 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.896e-05/1.033, allocations: 176 kB / 1.093 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/1.033, allocations: 14.05 kB / 1.093 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/1.033, allocations: 7.719 kB / 1.093 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/1.034, allocations: 214.3 kB / 1.093 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.034, allocations: 0.9688 kB / 1.093 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/1.034, allocations: 9.891 kB / 1.093 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/1.034, allocations: 7.938 kB / 1.093 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/1.034, allocations: 183.4 kB / 1.093 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/1.035, allocations: 283.2 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008185/1.035, allocations: 410.7 kB / 1.094 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/1.036, allocations: 180.6 kB / 1.094 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003253/1.036, allocations: 202.4 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/1.036, allocations: 39.56 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/1.036, allocations: 0 / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0008049/1.037, allocations: 386.2 kB / 1.095 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/1.037, allocations: 188.5 kB / 1.095 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/1.037, allocations: 93.55 kB / 1.095 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/1.037, allocations: 30.77 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.696e-05/1.037, allocations: 80.7 kB / 1.095 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.436e-05/1.037, allocations: 104.3 kB / 1.095 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/1.037, allocations: 51.56 kB / 1.095 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.923e-05/1.037, allocations: 325.5 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/1.038, allocations: 104.8 kB / 1.096 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/1.038, allocations: 137.7 kB / 1.096 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/1.038, allocations: 259.2 kB / 1.096 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.038, allocations: 1.031 kB / 1.096 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005279/1.039, allocations: 283 kB / 1.096 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.039, allocations: 10.11 kB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.039, allocations: 2.188 kB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.039, allocations: 1.75 kB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/1.039, allocations: 56.58 kB / 1.096 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/1.039, allocations: 2.625 kB / 1.096 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.214e-05/1.039, allocations: 21.33 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/1.039, allocations: 15.27 kB / 1.096 GB, free: 0.7852 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.0001124/1.039, allocations: 140.8 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/1.039, allocations: 14.09 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007169/1.04, allocations: 363.3 kB / 1.097 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/1.04, allocations: 5.125 kB / 1.097 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.04, allocations: 2.484 kB / 1.097 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/1.04, allocations: 2.109 kB / 1.097 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/1.04, allocations: 262.1 kB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.04, allocations: 1.688 kB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/1.041, allocations: 56.11 kB / 1.097 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/1.041, allocations: 2.094 kB / 1.097 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/1.041, allocations: 16.16 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/1.041, allocations: 3.016 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.041, allocations: 5.5 kB / 1.097 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/1.041, allocations: 353.2 kB / 1.097 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/1.042, allocations: 118.2 kB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/1.042, allocations: 7.547 kB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.925e-05/1.042, allocations: 8.047 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/1.042, allocations: 19.03 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/1.042, allocations: 20.19 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.772e-05/1.042, allocations: 76.34 kB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.284e-06/1.042, allocations: 0 / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005141/1.042, allocations: 96.69 kB / 1.098 GB, free: 15.85 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.0005963/1.043, allocations: 217 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005109/1.043, allocations: 249 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.043, allocations: 1.094 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/1.044, allocations: 140.5 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/1.044, allocations: 17.97 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/1.045, allocations: 378.2 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/1.045, allocations: 0.7168 MB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/1.045, allocations: 41.08 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.045, allocations: 0 / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.00721/1.052, allocations: 2.89 MB / 1.102 GB, free: 14.41 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