Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001617/0.001617, 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.002178/0.002178, allocations: 198.1 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.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.89 kB / 0.8685 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6571/0.6585, allocations: 151.6 MB / 1.017 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001905/0.6604, allocations: 0.6696 MB / 1.017 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.6629, allocations: 1.764 MB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/0.6629, allocations: 0 / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.663, allocations: 4 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.058e-05/0.663, allocations: 0 / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000874/0.6639, allocations: 247.2 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.6641, allocations: 135.7 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.6641, allocations: 4 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.303e-05/0.6642, allocations: 43.97 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.6643, allocations: 51.92 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.6643, allocations: 8 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.6648, allocations: 291.6 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.6649, allocations: 43.89 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.665, allocations: 47.72 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.6654, allocations: 275.4 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6654, allocations: 3.938 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6654, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.6654, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 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.000684/0.6661, allocations: 437.4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.6662, allocations: 16.03 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.6662, allocations: 8.844 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.6663, allocations: 176.2 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.6663, allocations: 12.38 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.6664, allocations: 16.12 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.6667, allocations: 210.6 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.6667, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.6668, allocations: 8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.6668, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.667, allocations: 183.7 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.6673, allocations: 282.1 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007214/0.6681, allocations: 407.8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.6683, allocations: 185.1 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003654/0.6687, allocations: 195.1 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.6687, allocations: 42.5 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.6687, allocations: 4 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006506/0.6694, allocations: 390.5 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.6695, allocations: 187.9 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.6695, allocations: 89.86 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.6696, allocations: 37.64 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.6696, allocations: 84.7 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.517e-05/0.6697, allocations: 102.5 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.6698, allocations: 61.81 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.6699, allocations: 318.8 kB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.67, allocations: 91.92 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.6702, allocations: 133.6 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.6706, allocations: 269.1 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6706, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004372/0.671, allocations: 285.3 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.671, allocations: 4 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6711, allocations: 7.984 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.6711, allocations: 0 / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.6713, allocations: 59.91 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.6713, allocations: 0 / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.6715, allocations: 15.84 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.6715, allocations: 15.98 kB / 1.024 GB, free: 10.59 MB / 0.7794 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.0001126/0.6716, allocations: 138.3 kB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.6717, allocations: 15.75 kB / 1.024 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/0.6723, allocations: 361.2 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.6723, allocations: 4 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.6723, allocations: 4 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6723, allocations: 3.938 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.6726, allocations: 261.3 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6726, allocations: 4 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.6728, allocations: 55.97 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.6728, allocations: 4 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.6729, allocations: 11.98 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6729, allocations: 3.938 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6729, allocations: 4 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.6733, allocations: 346.8 kB / 1.025 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.6734, allocations: 120.8 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.6735, allocations: 8 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.736e-05/0.6736, allocations: 12 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.6736, allocations: 23.97 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.6737, allocations: 11.98 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.038e-05/0.6737, allocations: 83.22 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6737, allocations: 0 / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004021/0.6741, allocations: 95.98 kB / 1.026 GB, free: 8.934 MB / 0.7794 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.0004932/0.6746, allocations: 203.6 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004303/0.675, allocations: 260 kB / 1.026 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.6751, allocations: 4 kB / 1.026 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.6753, allocations: 139.8 kB / 1.026 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.6755, allocations: 8 kB / 1.026 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.676, allocations: 405.8 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.6763, allocations: 0.7126 MB / 1.027 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002354/0.6765, allocations: 109.4 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.6766, allocations: 27.42 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6766, allocations: 4 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of Templates: time 0.005448/0.6821, allocations: 2.509 MB / 1.03 GB, free: 4.516 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches