Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9379/0.9379, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.782/1.782, allocations: 377.9 MB / 0.6239 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ntu.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.812 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.304e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001214/0.001237, allocations: 0.606 MB / 0.8126 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.00309, allocations: 1.766 MB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.003115, allocations: 0 / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.003144, allocations: 3.938 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.182e-05/0.003176, allocations: 4.875 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.003882, allocations: 314.4 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.004012, allocations: 130.3 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.072e-05/0.004043, allocations: 4 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.888e-05/0.004122, allocations: 63.92 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.0042, allocations: 55.86 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.004218, allocations: 8 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.004588, allocations: 331.5 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.004628, allocations: 44.41 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.004666, allocations: 33.44 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.004975, allocations: 347.1 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.004979, allocations: 4 kB / 0.8157 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.02e-07/0.00498, allocations: 0 / 0.8157 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.004983, allocations: 0 / 0.8157 GB, free: 13.71 MB / 0.7761 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.0004197/0.005402, allocations: 477.8 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.005436, allocations: 8.031 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.005478, allocations: 25.38 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.833e-05/0.005546, allocations: 121.4 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.005558, allocations: 8.375 kB / 0.8163 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.005573, allocations: 13.19 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.005735, allocations: 176.2 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.005743, allocations: 8.469 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.005754, allocations: 4 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.005759, allocations: 5.375 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.928e-05/0.005848, allocations: 83.77 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.006008, allocations: 187.8 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.006365, allocations: 348 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.006452, allocations: 119 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.006598, allocations: 51.42 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.006623, allocations: 49.33 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.183e-06/0.006624, allocations: 0 / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0002813/0.006905, allocations: 226.2 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.00699, allocations: 191.9 kB / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.186e-05/0.007042, allocations: 151.5 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.007057, allocations: 33.7 kB / 0.8178 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.007084, allocations: 127.4 kB / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.007147, allocations: 107 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.007199, allocations: 68.36 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.007299, allocations: 0.4923 MB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.007341, allocations: 31.97 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.007413, allocations: 109.9 kB / 0.8187 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.007557, allocations: 163.5 kB / 0.8189 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007559, allocations: 0 / 0.8189 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001974/0.007756, allocations: 189.6 kB / 0.8191 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.007768, allocations: 8 kB / 0.8191 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.007772, allocations: 0 / 0.8191 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.007783, allocations: 4 kB / 0.8191 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.007911, allocations: 63.77 kB / 0.8191 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.007914, allocations: 4 kB / 0.8192 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.00796, allocations: 16.39 kB / 0.8192 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.007973, allocations: 13.94 kB / 0.8192 GB, free: 9.711 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.008112, allocations: 172.5 kB / 0.8193 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.008142, allocations: 23.91 kB / 0.8194 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.008397, allocations: 241 kB / 0.8196 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.008401, allocations: 9.406 kB / 0.8196 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.008404, allocations: 4.5 kB / 0.8196 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.008411, allocations: 3.984 kB / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.008529, allocations: 157 kB / 0.8198 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.008532, allocations: 5.188 kB / 0.8198 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.008643, allocations: 59.91 kB / 0.8198 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.008647, allocations: 4 kB / 0.8198 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.008659, allocations: 12.89 kB / 0.8198 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.008662, allocations: 4 kB / 0.8198 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008663, allocations: 0.8438 kB / 0.8198 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.008879, allocations: 271.6 kB / 0.8201 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.008923, allocations: 35.84 kB / 0.8201 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.008937, allocations: 9.281 kB / 0.8201 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.008978, allocations: 4 kB / 0.8202 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.009009, allocations: 31.89 kB / 0.8202 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.00902, allocations: 12.7 kB / 0.8202 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.682e-05/0.009046, allocations: 121.5 kB / 0.8203 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009046, allocations: 0 / 0.8203 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002507/0.009297, allocations: 95.88 kB / 0.8204 GB, free: 8.379 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002467/0.009544, allocations: 214.9 kB / 0.8206 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.009715, allocations: 162.4 kB / 0.8208 GB, free: 8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.009717, allocations: 0 / 0.8208 GB, free: 8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.009792, allocations: 92.36 kB / 0.8209 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.009916, allocations: 19.94 kB / 0.8209 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.01021, allocations: 322 kB / 0.8212 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.875e-05/0.01025, allocations: 71.84 kB / 0.8212 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.109e-05/0.01032, allocations: 37.67 kB / 0.8213 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.0104, allocations: 98.19 kB / 0.8214 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.0104, allocations: 1.25 kB / 0.8214 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of Templates: time 0.004099/0.0145, allocations: 2.965 MB / 0.8243 GB, free: 4.359 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.783291529864073]