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.001336/0.001336, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001432/0.001432, allocations: 169 kB / 24.28 MB, free: 276 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.9017/0.9017, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.805/1.805, allocations: 377.9 MB / 0.6239 GB, free: 8.531 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.734e-06/1.734e-06, allocations: 0 / 0.8116 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.495e-05, allocations: 3.297 kB / 0.8116 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001012/0.001027, allocations: 0.6107 MB / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.0028, allocations: 1.777 MB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.002823, allocations: 1 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.00285, allocations: 0 / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.436e-05/0.002874, allocations: 3.938 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.003454, allocations: 315.4 kB / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.00358, allocations: 131.8 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.003614, allocations: 5.594 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.003689, allocations: 63.88 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.003762, allocations: 51.92 kB / 0.8145 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.003778, allocations: 4 kB / 0.8145 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.004111, allocations: 336 kB / 0.8148 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.004151, allocations: 39.89 kB / 0.8148 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.004191, allocations: 32.53 kB / 0.8149 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.004504, allocations: 347.6 kB / 0.8152 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004506, allocations: 0 / 0.8152 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004507, allocations: 1.25 kB / 0.8152 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.00451, allocations: 0 / 0.8152 GB, free: 14.35 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.0004767/0.004987, allocations: 477.9 kB / 0.8156 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.005023, allocations: 16.02 kB / 0.8157 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.005084, allocations: 20.84 kB / 0.8157 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.681e-05/0.005161, allocations: 121.6 kB / 0.8158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.005175, allocations: 8.375 kB / 0.8158 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.005192, allocations: 12.38 kB / 0.8158 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.005392, allocations: 193.2 kB / 0.816 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.005401, allocations: 3.938 kB / 0.816 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.005416, allocations: 8 kB / 0.816 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.005424, allocations: 1 kB / 0.816 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.005549, allocations: 91.84 kB / 0.8161 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.005732, allocations: 204.1 kB / 0.8163 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.006141, allocations: 364 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.006258, allocations: 131.5 kB / 0.8168 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.006411, allocations: 40.97 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.006436, allocations: 41.39 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.006437, allocations: 0 / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30): time 0.0003725/0.006809, allocations: 271.9 kB / 0.8171 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002073/0.007017, allocations: 191.9 kB / 0.8173 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.00708, allocations: 149.9 kB / 0.8174 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.007097, allocations: 36.55 kB / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.007124, allocations: 127.4 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.007197, allocations: 111.1 kB / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.007252, allocations: 63.34 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.007356, allocations: 0.4923 MB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.007419, allocations: 43.97 kB / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-05/0.007512, allocations: 110.6 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.007696, allocations: 174.9 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.007698, allocations: 0 / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000241/0.007939, allocations: 213.8 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.007956, allocations: 5.938 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.00796, allocations: 4 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.007973, allocations: 7.938 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.008103, allocations: 51.91 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.00811, allocations: 8.359 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.00816, allocations: 17.58 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.008173, allocations: 12 kB / 0.8189 GB, free: 10.2 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 7.395e-05/0.008247, allocations: 172.5 kB / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.00828, allocations: 27.91 kB / 0.819 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.008589, allocations: 258 kB / 0.8193 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.008594, allocations: 7.938 kB / 0.8193 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.008598, allocations: 4.844 kB / 0.8193 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.008603, allocations: 3.984 kB / 0.8193 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.008723, allocations: 176.4 kB / 0.8195 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008725, allocations: 0.8438 kB / 0.8195 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.008839, allocations: 55.91 kB / 0.8195 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.008843, allocations: 5.281 kB / 0.8195 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.008857, allocations: 11.98 kB / 0.8195 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008858, allocations: 0 / 0.8195 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.008863, allocations: 12.72 kB / 0.8196 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.009123, allocations: 288.1 kB / 0.8198 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.009174, allocations: 42.66 kB / 0.8199 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.009192, allocations: 4 kB / 0.8199 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.352e-05/0.009235, allocations: 8 kB / 0.8199 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.009272, allocations: 31.83 kB / 0.8199 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.009285, allocations: 15.98 kB / 0.8199 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.46e-05/0.009309, allocations: 119.2 kB / 0.82 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009309, allocations: 4 kB / 0.82 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002357/0.009545, allocations: 94.58 kB / 0.8201 GB, free: 8.797 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.0002494/0.009794, allocations: 222.9 kB / 0.8203 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.01001, allocations: 167.5 kB / 0.8205 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01001, allocations: 4 kB / 0.8205 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.0101, allocations: 99.5 kB / 0.8206 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.01023, allocations: 16.94 kB / 0.8206 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.01058, allocations: 328.6 kB / 0.8209 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.069e-05/0.01062, allocations: 72.91 kB / 0.821 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.01075, allocations: 97.11 kB / 0.8211 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.01079, allocations: 33.8 kB / 0.8211 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.01079, allocations: 0 / 0.8211 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of Templates: time 0.003714/0.01451, allocations: 2.55 MB / 0.8236 GB, free: 5.164 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.811564218951389]