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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.3 MB / 405.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 169.2 kB / 498.1 MB, free: 5.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.001189, allocations: 92.33 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.0004491, allocations: 10.44 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3003, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.4885, allocations: 151.8 MB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.4888, allocations: 87.95 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.044/0.5328, allocations: 15.02 MB / 1.386 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5329, allocations: 3.938 kB / 1.386 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.5329, allocations: 0 / 1.386 GB, free: 11.13 MB / 0.8855 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.0007037/0.5336, allocations: 443 kB / 1.386 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5336, allocations: 8.031 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.5337, allocations: 11.81 kB / 1.386 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.5338, allocations: 174.9 kB / 1.386 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.5338, allocations: 8 kB / 1.386 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.5339, allocations: 12 kB / 1.386 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.5342, allocations: 227.6 kB / 1.387 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5343, allocations: 0 / 1.387 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.5343, allocations: 4 kB / 1.387 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.5343, allocations: 4 kB / 1.387 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.5346, allocations: 175.8 kB / 1.387 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.5349, allocations: 286 kB / 1.387 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007082/0.5356, allocations: 407.8 kB / 1.388 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003341/0.536, allocations: 203.2 kB / 1.388 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.536, allocations: 46.48 kB / 1.388 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=30): time 1.322e-06/0.536, allocations: 0 / 1.388 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.0006486/0.5367, allocations: 381.2 kB / 1.388 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.5368, allocations: 183.9 kB / 1.388 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.5368, allocations: 85 kB / 1.388 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.5369, allocations: 29.7 kB / 1.388 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.5369, allocations: 80.7 kB / 1.388 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.441e-05/0.537, allocations: 102.6 kB / 1.389 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.537, allocations: 4 kB / 1.389 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5372, allocations: 326.8 kB / 1.389 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.5373, allocations: 87.86 kB / 1.389 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.5375, allocations: 129.1 kB / 1.389 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.5377, allocations: 117.4 kB / 1.389 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5377, allocations: 3.953 kB / 1.389 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000426/0.5381, allocations: 281.3 kB / 1.39 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5382, allocations: 8 kB / 1.39 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5382, allocations: 4 kB / 1.39 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.5382, allocations: 0 / 1.39 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.5384, allocations: 63.88 kB / 1.39 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5385, allocations: 4 kB / 1.39 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.5386, allocations: 19.75 kB / 1.39 GB, free: 6.922 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.5386, allocations: 15.98 kB / 1.39 GB, free: 6.906 MB / 0.8855 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.0001293/0.5387, allocations: 139.2 kB / 1.39 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.5388, allocations: 11.86 kB / 1.39 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005953/0.5394, allocations: 373.1 kB / 1.39 GB, free: 6.375 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.5394, allocations: 4 kB / 1.39 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5394, allocations: 0 / 1.39 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5394, allocations: 4 kB / 1.39 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.5397, allocations: 249.4 kB / 1.39 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5397, allocations: 4 kB / 1.39 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.5399, allocations: 59.84 kB / 1.39 GB, free: 6.012 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.5399, allocations: 4 kB / 1.39 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.54, allocations: 11.98 kB / 1.39 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.54, allocations: 8 kB / 1.39 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.54, allocations: 0 / 1.39 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.5405, allocations: 401.6 kB / 1.391 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.5405, allocations: 93.27 kB / 1.391 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.5406, allocations: 11.95 kB / 1.391 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.5407, allocations: 15.98 kB / 1.391 GB, free: 5.395 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.5407, allocations: 19.97 kB / 1.391 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.5408, allocations: 16 kB / 1.391 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.5408, allocations: 75.28 kB / 1.391 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5408, allocations: 0 / 1.391 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005204/0.5413, allocations: 115.9 kB / 1.391 GB, free: 5.172 MB / 0.8855 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.000533/0.5419, allocations: 225.3 kB / 1.391 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003825/0.5423, allocations: 251.7 kB / 1.392 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5423, allocations: 0 / 1.392 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.5425, allocations: 139.7 kB / 1.392 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.5426, allocations: 8 kB / 1.392 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.5432, allocations: 385.8 kB / 1.392 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.5435, allocations: 0.7166 MB / 1.393 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002382/0.5438, allocations: 109.4 kB / 1.393 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.5438, allocations: 27.42 kB / 1.393 GB, free: 3.27 MB / 0.8855 GB Notification: Performance of SimCode: time 2.8e-07/0.5438, allocations: 4 kB / 1.393 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of Templates: time 0.00496/0.5488, allocations: 2.283 MB / 1.395 GB, free: 0.9844 MB / 0.8855 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","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches