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.297/2.297, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001098/0.001098, allocations: 180.1 kB / 492.3 MB, free: 0.6289 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.699/1.699, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009554/0.0009557, allocations: 91.06 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.014e-05/3.017e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2767, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.316, allocations: 151.7 MB / 1.361 GB, free: 18.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.316, allocations: 85.69 kB / 1.361 GB, free: 18.88 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03943/1.356, allocations: 15.02 MB / 1.375 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.903e-06/1.356, allocations: 3.938 kB / 1.375 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.242e-05/1.356, allocations: 3.812 kB / 1.375 GB, free: 33.72 MB / 0.8386 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.0008361/1.357, allocations: 433.8 kB / 1.376 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.357, allocations: 7.656 kB / 1.376 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/1.357, allocations: 11.8 kB / 1.376 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.327e-05/1.357, allocations: 178.7 kB / 1.376 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/1.357, allocations: 9.656 kB / 1.376 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/1.357, allocations: 11.09 kB / 1.376 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/1.357, allocations: 221.8 kB / 1.376 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.357, allocations: 3.875 kB / 1.376 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/1.357, allocations: 3.188 kB / 1.376 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/1.357, allocations: 3.844 kB / 1.376 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/1.358, allocations: 168.8 kB / 1.376 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/1.358, allocations: 288.7 kB / 1.377 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/1.359, allocations: 403.8 kB / 1.377 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/1.359, allocations: 181.2 kB / 1.377 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/1.359, allocations: 194.4 kB / 1.377 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/1.359, allocations: 45.75 kB / 1.377 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/1.359, allocations: 0 / 1.377 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0004789/1.36, allocations: 278.5 kB / 1.378 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/1.36, allocations: 190.6 kB / 1.378 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.531e-05/1.36, allocations: 89 kB / 1.378 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/1.36, allocations: 29.2 kB / 1.378 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/1.36, allocations: 80.7 kB / 1.378 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.836e-05/1.36, allocations: 107.4 kB / 1.378 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/1.36, allocations: 3.812 kB / 1.378 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.36, allocations: 323.8 kB / 1.378 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/1.36, allocations: 81.22 kB / 1.379 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/1.36, allocations: 141.9 kB / 1.379 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/1.361, allocations: 110.4 kB / 1.379 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.361, allocations: 0 / 1.379 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000389/1.361, allocations: 289 kB / 1.379 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.361, allocations: 3.875 kB / 1.379 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.361, allocations: 4.188 kB / 1.379 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.361, allocations: 3.969 kB / 1.379 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/1.361, allocations: 50.69 kB / 1.379 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.52e-05/1.361, allocations: 3.844 kB / 1.379 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/1.361, allocations: 27.44 kB / 1.379 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/1.361, allocations: 19.48 kB / 1.379 GB, free: 31.32 MB / 0.8386 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 () * 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 9.1e-05/1.361, allocations: 111.2 kB / 1.379 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/1.362, allocations: 15.48 kB / 1.379 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005537/1.362, allocations: 361.4 kB / 1.38 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.362, allocations: 3.938 kB / 1.38 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.362, allocations: 0 / 1.38 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.362, allocations: 7.812 kB / 1.38 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/1.362, allocations: 252.9 kB / 1.38 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.362, allocations: 3.812 kB / 1.38 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/1.363, allocations: 54.41 kB / 1.38 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.363, allocations: 3.953 kB / 1.38 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/1.363, allocations: 14.39 kB / 1.38 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.363, allocations: 3.844 kB / 1.38 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.363, allocations: 4.219 kB / 1.38 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/1.363, allocations: 397 kB / 1.38 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/1.363, allocations: 96.73 kB / 1.38 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/1.363, allocations: 10.89 kB / 1.38 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/1.363, allocations: 9.766 kB / 1.38 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/1.363, allocations: 22.25 kB / 1.38 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/1.363, allocations: 15.67 kB / 1.38 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.083e-05/1.363, allocations: 75.28 kB / 1.381 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.363, allocations: 0 / 1.381 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005577/1.364, allocations: 103.1 kB / 1.381 GB, free: 30.38 MB / 0.8386 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 () * 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.0007631/1.365, allocations: 242.2 kB / 1.381 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003564/1.365, allocations: 241 kB / 1.381 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.365, allocations: 3.938 kB / 1.381 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/1.365, allocations: 143.4 kB / 1.381 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/1.365, allocations: 7.875 kB / 1.381 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/1.366, allocations: 288.6 kB / 1.382 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/1.366, allocations: 0.7193 MB / 1.382 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002136/1.366, allocations: 102.7 kB / 1.382 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/1.366, allocations: 30.17 kB / 1.382 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.366, allocations: 0 / 1.382 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of Templates: time 0.004929/1.371, allocations: 2.294 MB / 1.385 GB, free: 28.08 MB / 0.8386 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