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.283/2.283, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001358/0.001357, allocations: 188.7 kB / 487.4 MB, free: 5.035 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.736/1.736, allocations: 221.5 MB / 0.7824 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 113.5 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.483e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2772, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.33, allocations: 151 MB / 1.353 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/1.33, allocations: 87.08 kB / 1.354 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03978/1.37, allocations: 14.96 MB / 1.368 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.47e-06/1.37, allocations: 0 / 1.368 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.32e-05/1.37, allocations: 7.875 kB / 1.368 GB, free: 33.09 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.0009857/1.371, allocations: 438 kB / 1.369 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/1.371, allocations: 7.719 kB / 1.369 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.709e-05/1.371, allocations: 7.781 kB / 1.369 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/1.371, allocations: 174.9 kB / 1.369 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/1.371, allocations: 3.844 kB / 1.369 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/1.371, allocations: 7.812 kB / 1.369 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003458/1.372, allocations: 158 kB / 1.369 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/1.372, allocations: 204.5 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.372, allocations: 3.047 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/1.372, allocations: 0.75 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/1.372, allocations: 3.844 kB / 1.369 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/1.372, allocations: 253.1 kB / 1.369 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/1.373, allocations: 389.3 kB / 1.37 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/1.373, allocations: 170.8 kB / 1.37 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/1.374, allocations: 197.9 kB / 1.37 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/1.374, allocations: 42.12 kB / 1.37 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/1.374, allocations: 0 / 1.37 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0005977/1.374, allocations: 265.5 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/1.374, allocations: 190.8 kB / 1.371 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.591e-05/1.374, allocations: 85 kB / 1.371 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/1.374, allocations: 25.7 kB / 1.371 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.302e-05/1.374, allocations: 80.7 kB / 1.371 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.625e-05/1.374, allocations: 100.5 kB / 1.371 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/1.375, allocations: 4 kB / 1.371 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.375, allocations: 324.5 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/1.375, allocations: 75.03 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/1.375, allocations: 129.4 kB / 1.371 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/1.375, allocations: 110 kB / 1.371 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.375, allocations: 4 kB / 1.371 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00044/1.376, allocations: 267.1 kB / 1.372 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.376, allocations: 10.98 kB / 1.372 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.376, allocations: 0 / 1.372 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.376, allocations: 3.812 kB / 1.372 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/1.376, allocations: 59.75 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.376, allocations: 3.812 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/1.376, allocations: 16 kB / 1.372 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/1.376, allocations: 10.86 kB / 1.372 GB, free: 30.76 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 0.0001046/1.376, allocations: 108.9 kB / 1.372 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/1.376, allocations: 19.14 kB / 1.372 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006067/1.377, allocations: 337.3 kB / 1.372 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/1.377, allocations: 3.844 kB / 1.372 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.377, allocations: 0 / 1.372 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/1.377, allocations: 6.5 kB / 1.372 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/1.377, allocations: 214.6 kB / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/1.377, allocations: 0 / 1.372 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/1.377, allocations: 58.02 kB / 1.373 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/1.377, allocations: 7.812 kB / 1.373 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/1.377, allocations: 6.672 kB / 1.373 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/1.377, allocations: 7.891 kB / 1.373 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.377, allocations: 3.875 kB / 1.373 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/1.378, allocations: 379.6 kB / 1.373 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/1.378, allocations: 95.95 kB / 1.373 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/1.378, allocations: 3.875 kB / 1.373 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/1.378, allocations: 0 / 1.373 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/1.378, allocations: 36.45 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/1.378, allocations: 17.91 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.315e-05/1.378, allocations: 75.28 kB / 1.373 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.11e-07/1.378, allocations: 0 / 1.373 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005866/1.379, allocations: 95.75 kB / 1.373 GB, free: 30 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.0007498/1.38, allocations: 229.1 kB / 1.373 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003023/1.38, allocations: 226.9 kB / 1.374 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.38, allocations: 0 / 1.374 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/1.38, allocations: 137.8 kB / 1.374 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/1.38, allocations: 1.031 kB / 1.374 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/1.381, allocations: 271.6 kB / 1.374 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/1.381, allocations: 0.7148 MB / 1.375 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002298/1.381, allocations: 103.6 kB / 1.375 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/1.381, allocations: 31.59 kB / 1.375 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.381, allocations: 0 / 1.375 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.005724/1.387, allocations: 2.268 MB / 1.377 GB, free: 28.72 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