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.486/1.486, allocations: 249.3 MB / 261.8 MB, free: 5.902 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.001045/0.001046, allocations: 188.8 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.894/1.894, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009788/0.000979, allocations: 89.41 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.67e-05/4.674e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2575, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.784/1.042, allocations: 134.2 MB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.042, allocations: 88.78 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04288/1.085, allocations: 14.89 MB / 1.037 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.393e-06/1.085, allocations: 0 / 1.037 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.297e-06/1.085, allocations: 8 kB / 1.037 GB, free: 3.891 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.0008038/1.086, allocations: 427.4 kB / 1.038 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.086, allocations: 8.031 kB / 1.038 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/1.086, allocations: 15.91 kB / 1.038 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/1.086, allocations: 170.9 kB / 1.038 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/1.086, allocations: 11.31 kB / 1.038 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/1.086, allocations: 11.5 kB / 1.038 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/1.086, allocations: 219.8 kB / 1.038 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.086, allocations: 0 / 1.038 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/1.086, allocations: 7.75 kB / 1.038 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.086, allocations: 4 kB / 1.038 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002805/1.087, allocations: 176.4 kB / 1.038 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/1.087, allocations: 276.7 kB / 1.039 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/1.088, allocations: 406.9 kB / 1.039 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/1.088, allocations: 179.9 kB / 1.039 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003438/1.088, allocations: 198.8 kB / 1.039 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/1.088, allocations: 38.5 kB / 1.04 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.321e-05/1.088, allocations: 3.938 kB / 1.04 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0005014/1.089, allocations: 289.7 kB / 1.04 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/1.089, allocations: 195.6 kB / 1.04 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.832e-05/1.089, allocations: 85 kB / 1.04 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/1.089, allocations: 32.77 kB / 1.04 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/1.089, allocations: 80.7 kB / 1.04 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/1.089, allocations: 101 kB / 1.04 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/1.089, allocations: 3.625 kB / 1.04 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.089, allocations: 322.1 kB / 1.041 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/1.09, allocations: 81.58 kB / 1.041 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/1.09, allocations: 134.7 kB / 1.041 GB, free: 460 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/1.09, allocations: 113.5 kB / 1.041 GB, free: 368 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.09, allocations: 0 / 1.041 GB, free: 368 kB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004126/1.09, allocations: 282.1 kB / 1.041 GB, free: 132 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.09, allocations: 8 kB / 1.041 GB, free: 124 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/1.09, allocations: 3.984 kB / 1.041 GB, free: 120 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.09, allocations: 4 kB / 1.041 GB, free: 116 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/1.091, allocations: 59.41 kB / 1.041 GB, free: 60 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.091, allocations: 4 kB / 1.041 GB, free: 56 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.056e-05/1.091, allocations: 19.16 kB / 1.041 GB, free: 40 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/1.091, allocations: 11.98 kB / 1.041 GB, free: 28 kB / 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.0001082/1.091, allocations: 119.5 kB / 1.041 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/1.091, allocations: 15.86 kB / 1.041 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/1.092, allocations: 354.3 kB / 1.042 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/1.092, allocations: 8 kB / 1.042 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/1.092, allocations: 4 kB / 1.042 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.092, allocations: 0 / 1.042 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/1.092, allocations: 258.1 kB / 1.042 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.092, allocations: 0 / 1.042 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/1.092, allocations: 59.89 kB / 1.042 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/1.092, allocations: 7.953 kB / 1.042 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/1.092, allocations: 15.11 kB / 1.042 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.092, allocations: 0 / 1.042 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.092, allocations: 4 kB / 1.042 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/1.093, allocations: 394.2 kB / 1.042 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/1.093, allocations: 92.95 kB / 1.043 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/1.093, allocations: 7.938 kB / 1.043 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/1.093, allocations: 15.75 kB / 1.043 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/1.093, allocations: 23.66 kB / 1.043 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/1.093, allocations: 11.69 kB / 1.043 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 3.605e-05/1.093, allocations: 75.28 kB / 1.043 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.31e-07/1.093, allocations: 4 kB / 1.043 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005124/1.094, allocations: 110.4 kB / 1.043 GB, free: 14.53 MB / 0.6667 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.0006267/1.094, allocations: 226.1 kB / 1.043 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003799/1.095, allocations: 241.6 kB / 1.043 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.095, allocations: 4 kB / 1.043 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/1.095, allocations: 135.9 kB / 1.043 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/1.095, allocations: 15.92 kB / 1.043 GB, free: 14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/1.095, allocations: 281.6 kB / 1.044 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/1.096, allocations: 0.7244 MB / 1.044 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002446/1.096, allocations: 109.2 kB / 1.044 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/1.096, allocations: 27.36 kB / 1.044 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of SimCode: time 4.81e-07/1.096, allocations: 0 / 1.044 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of Templates: time 0.005848/1.102, allocations: 2.299 MB / 1.047 GB, free: 10.56 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