Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001182, allocations: 177 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009402/0.0009402, allocations: 94.41 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.2e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2559, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8808/1.137, allocations: 134.4 MB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/1.137, allocations: 90.48 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04323/1.18, allocations: 14.83 MB / 1.031 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.443e-06/1.18, allocations: 4 kB / 1.031 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.18, allocations: 0 / 1.031 GB, free: 6.984 MB / 0.6511 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.000755/1.181, allocations: 436.6 kB / 1.032 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.181, allocations: 8.031 kB / 1.032 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/1.181, allocations: 15.83 kB / 1.032 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/1.181, allocations: 174.9 kB / 1.032 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/1.181, allocations: 4 kB / 1.032 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/1.181, allocations: 8 kB / 1.032 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003184/1.182, allocations: 160.8 kB / 1.032 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/1.182, allocations: 199.1 kB / 1.032 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.182, allocations: 0 / 1.032 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/1.182, allocations: 0 / 1.032 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.182, allocations: 4.75 kB / 1.032 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/1.182, allocations: 247.9 kB / 1.032 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/1.183, allocations: 392.6 kB / 1.033 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/1.183, allocations: 166.4 kB / 1.033 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003505/1.184, allocations: 202 kB / 1.033 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/1.184, allocations: 45.88 kB / 1.033 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/1.184, allocations: 0 / 1.033 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0006089/1.184, allocations: 264.5 kB / 1.033 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/1.184, allocations: 195 kB / 1.034 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/1.184, allocations: 89 kB / 1.034 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/1.185, allocations: 25.7 kB / 1.034 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/1.185, allocations: 80.7 kB / 1.034 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.665e-05/1.185, allocations: 95.31 kB / 1.034 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/1.185, allocations: 0 / 1.034 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.185, allocations: 322.4 kB / 1.034 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/1.185, allocations: 80.02 kB / 1.034 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/1.185, allocations: 129.4 kB / 1.034 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/1.185, allocations: 107.5 kB / 1.034 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.185, allocations: 0 / 1.034 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004826/1.186, allocations: 265.8 kB / 1.035 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.186, allocations: 11.98 kB / 1.035 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.186, allocations: 0 / 1.035 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.186, allocations: 4 kB / 1.035 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/1.186, allocations: 51.91 kB / 1.035 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/1.186, allocations: 4.375 kB / 1.035 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.113e-05/1.186, allocations: 19.78 kB / 1.035 GB, free: 3.242 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/1.186, allocations: 15.42 kB / 1.035 GB, free: 3.23 MB / 0.6511 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.0001036/1.186, allocations: 108.9 kB / 1.035 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/1.186, allocations: 15.86 kB / 1.035 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000646/1.187, allocations: 330.7 kB / 1.035 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.187, allocations: 8 kB / 1.035 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.187, allocations: 0 / 1.035 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.187, allocations: 8 kB / 1.035 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/1.187, allocations: 218.8 kB / 1.035 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.187, allocations: 0 / 1.035 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/1.188, allocations: 59.22 kB / 1.035 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.188, allocations: 0 / 1.035 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/1.188, allocations: 11.98 kB / 1.035 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/1.188, allocations: 7.891 kB / 1.035 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.188, allocations: 4 kB / 1.035 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/1.188, allocations: 380.7 kB / 1.036 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/1.188, allocations: 100.9 kB / 1.036 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/1.188, allocations: 3.984 kB / 1.036 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/1.189, allocations: 4 kB / 1.036 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/1.189, allocations: 31.05 kB / 1.036 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/1.189, allocations: 15.11 kB / 1.036 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.094e-05/1.189, allocations: 75.28 kB / 1.036 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.189, allocations: 0 / 1.036 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005037/1.189, allocations: 94.5 kB / 1.036 GB, free: 1.801 MB / 0.6511 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.0005548/1.19, allocations: 227 kB / 1.036 GB, free: 1.574 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003356/1.19, allocations: 224.3 kB / 1.037 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.19, allocations: 4 kB / 1.037 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/1.19, allocations: 129.4 kB / 1.037 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/1.19, allocations: 4 kB / 1.037 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/1.191, allocations: 267.5 kB / 1.037 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/1.191, allocations: 0.7241 MB / 1.038 GB, free: 280 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002389/1.191, allocations: 109.2 kB / 1.038 GB, free: 172 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/1.191, allocations: 27.42 kB / 1.038 GB, free: 144 kB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.191, allocations: 0 / 1.038 GB, free: 144 kB / 0.6511 GB Notification: Performance of Templates: time 0.005229/1.197, allocations: 2.267 MB / 1.04 GB, free: 13.89 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches