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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009471/0.0009471, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009476/0.0009476, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.536/2.536, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003392, allocations: 16 kB / 0.8708 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5725/0.5728, allocations: 153.6 MB / 1.021 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0006849/0.5736, allocations: 320.6 kB / 1.021 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.5754, allocations: 1.616 MB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.5755, allocations: 4 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.5755, allocations: 0 / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.89e-05/0.5755, allocations: 7.938 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.5762, allocations: 241.3 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.5763, allocations: 91.88 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.5764, allocations: 7.984 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.5765, allocations: 35.98 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.5766, allocations: 67.84 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.5766, allocations: 4 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.577, allocations: 243.7 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.577, allocations: 39.89 kB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.5771, allocations: 37.64 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.5773, allocations: 175.7 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.5773, allocations: 0 / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5773, allocations: 4 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.5773, allocations: 0 / 1.024 GB, free: 14.15 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.0005925/0.5779, allocations: 425.1 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.578, allocations: 11.98 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.578, allocations: 15.89 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.328e-05/0.5781, allocations: 178.9 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5781, allocations: 11.95 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.5782, allocations: 8 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.5785, allocations: 210.6 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.5785, allocations: 0 / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.5785, allocations: 8 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.5785, allocations: 4 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.5788, allocations: 183.8 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.5791, allocations: 270.1 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006963/0.5798, allocations: 411.8 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/0.5802, allocations: 203.1 kB / 1.025 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.5802, allocations: 42.56 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/0.5802, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0006145/0.5808, allocations: 389.1 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.5809, allocations: 187.9 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/0.581, allocations: 97.86 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.581, allocations: 29.7 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.565e-05/0.581, allocations: 80.7 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.14e-05/0.5811, allocations: 102.5 kB / 1.026 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.5811, allocations: 4 kB / 1.026 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.5812, allocations: 326.8 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.5814, allocations: 83.92 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.5815, allocations: 146.1 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.5817, allocations: 113.4 kB / 1.027 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5817, allocations: 0 / 1.027 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000394/0.5821, allocations: 289.2 kB / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.5821, allocations: 11.95 kB / 1.027 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5822, allocations: 0 / 1.027 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5822, allocations: 4 kB / 1.027 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.5824, allocations: 55.89 kB / 1.027 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5824, allocations: 8 kB / 1.027 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.5825, allocations: 15.84 kB / 1.027 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.5826, allocations: 15.98 kB / 1.027 GB, free: 9.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.5827, allocations: 133.8 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.5827, allocations: 11.91 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/0.5833, allocations: 365.1 kB / 1.028 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.5833, allocations: 4 kB / 1.028 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5833, allocations: 8 kB / 1.028 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5833, allocations: 0 / 1.028 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.5835, allocations: 257.3 kB / 1.028 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5835, allocations: 4 kB / 1.028 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.5838, allocations: 55.89 kB / 1.028 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.5838, allocations: 4 kB / 1.028 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.5838, allocations: 11.98 kB / 1.028 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5838, allocations: 7.953 kB / 1.028 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5838, allocations: 0 / 1.028 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.5843, allocations: 410.6 kB / 1.029 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.5844, allocations: 120.8 kB / 1.029 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.5844, allocations: 8 kB / 1.029 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.249e-05/0.5845, allocations: 4 kB / 1.029 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.5846, allocations: 27.91 kB / 1.029 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.5846, allocations: 20.3 kB / 1.029 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.5846, allocations: 75.28 kB / 1.029 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5846, allocations: 0 / 1.029 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003768/0.585, allocations: 92.08 kB / 1.029 GB, free: 8.176 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004739/0.5855, allocations: 215.2 kB / 1.029 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.5859, allocations: 247.6 kB / 1.029 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5859, allocations: 0 / 1.029 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.5861, allocations: 139.8 kB / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.5862, allocations: 12 kB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.5867, allocations: 394.2 kB / 1.03 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.587, allocations: 0.7204 MB / 1.031 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.5872, allocations: 113.4 kB / 1.031 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.5873, allocations: 27.42 kB / 1.031 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of SimCode: time 1.452e-06/0.5873, allocations: 4 kB / 1.031 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of Templates: time 0.004914/0.5922, allocations: 2.432 MB / 1.033 GB, free: 3.824 MB / 0.7794 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","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches