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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001976/0.001976, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002015/0.002015, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.037/3.037, allocations: 469.8 MB / 0.7419 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 70.89 kB / 0.9079 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3482, allocations: 159.2 MB / 1.063 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001974/0.3503, allocations: 0.6483 MB / 1.064 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002662/0.3529, allocations: 1.784 MB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.353, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.353, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.308e-05/0.3531, allocations: 7.922 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007623/0.3538, allocations: 243.5 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.354, allocations: 123.9 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.3541, allocations: 3.984 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.3541, allocations: 43.97 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3543, allocations: 59.86 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.3543, allocations: 4 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.3548, allocations: 295.6 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.3548, allocations: 39.91 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.34e-05/0.3549, allocations: 43.77 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.3553, allocations: 275.4 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3553, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3553, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3553, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 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.0007434/0.3561, allocations: 443.6 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3561, allocations: 12.03 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.3562, allocations: 8.844 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3563, allocations: 172.3 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3563, allocations: 8.375 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.3564, allocations: 16.12 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.3568, allocations: 218.6 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3568, allocations: 4 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.3568, allocations: 7.938 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3568, allocations: 4 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.3571, allocations: 179.7 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.3575, allocations: 282 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/0.3583, allocations: 411.7 kB / 1.068 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.3585, allocations: 189.1 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/0.3589, allocations: 195.2 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.3589, allocations: 46.5 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.359, allocations: 0 / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0007095/0.3597, allocations: 381.2 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.3598, allocations: 187.9 kB / 1.069 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.3599, allocations: 97.84 kB / 1.069 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3599, allocations: 29.7 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.3599, allocations: 80.7 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.3601, allocations: 106.7 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.3601, allocations: 57.69 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3603, allocations: 322.8 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.3605, allocations: 83.92 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.3607, allocations: 141.1 kB / 1.07 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.3611, allocations: 266.4 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3611, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004749/0.3615, allocations: 293.6 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3616, allocations: 8 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3616, allocations: 0 / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3616, allocations: 4 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.3619, allocations: 59.89 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3619, allocations: 4 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.362, allocations: 19.75 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.362, allocations: 12 kB / 1.071 GB, free: 6.551 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.0001285/0.3622, allocations: 137.8 kB / 1.071 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.3622, allocations: 15.84 kB / 1.071 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.3629, allocations: 356.8 kB / 1.071 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.3629, allocations: 11.98 kB / 1.071 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3629, allocations: 0 / 1.071 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3629, allocations: 4 kB / 1.071 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.3632, allocations: 261.2 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3632, allocations: 4.438 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.3634, allocations: 59.89 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.3634, allocations: 4 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.3635, allocations: 8 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.3635, allocations: 7.938 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3635, allocations: 3.984 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004999/0.364, allocations: 353.5 kB / 1.072 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3641, allocations: 116.9 kB / 1.072 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.3641, allocations: 8 kB / 1.072 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.3643, allocations: 7.984 kB / 1.072 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.3643, allocations: 23.97 kB / 1.072 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.3643, allocations: 12 kB / 1.072 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.3644, allocations: 79.27 kB / 1.072 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3644, allocations: 0 / 1.072 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003911/0.3648, allocations: 96 kB / 1.072 GB, free: 4.895 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.00057/0.3654, allocations: 206.1 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.3658, allocations: 251.8 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3658, allocations: 0 / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.366, allocations: 137 kB / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.3662, allocations: 20.53 kB / 1.073 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.3669, allocations: 405.6 kB / 1.073 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3672, allocations: 0.7088 MB / 1.074 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002411/0.3675, allocations: 113.4 kB / 1.074 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.3676, allocations: 31.42 kB / 1.074 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3676, allocations: 0 / 1.074 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.006647/0.3742, allocations: 2.51 MB / 1.077 GB, free: 480 kB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (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) 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) Reference file matches