Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.001894/0.001894, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002063/0.002063, allocations: 157.3 kB / 23.55 MB, free: 0.8828 MB / 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 1.653/1.653, allocations: 177.2 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 3.064/3.064, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] 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.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.414e-05, allocations: 4.391 kB / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00313/0.003164, allocations: 1.314 MB / 0.8121 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.004671, allocations: 0.7518 MB / 0.8129 GB, free: 0 / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.00469, allocations: 0.6875 kB / 0.8129 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.004709, allocations: 4.047 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.004771, allocations: 8.719 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.005176, allocations: 92.56 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.053e-05/0.005237, allocations: 21.11 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.005279, allocations: 0 / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.005327, allocations: 15.98 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.00539, allocations: 7.984 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.005404, allocations: 0.9688 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.005762, allocations: 140 kB / 0.8131 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.005778, allocations: 4.688 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.005802, allocations: 7.984 kB / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.00609, allocations: 128.5 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.006094, allocations: 0 / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.006095, allocations: 1.25 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.0061, allocations: 0 / 0.8133 GB, free: 15.58 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004537/0.006553, allocations: 364.2 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.006592, allocations: 8.031 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.006636, allocations: 10.86 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.006764, allocations: 112.5 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.006775, allocations: 384 / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.006785, allocations: 4.375 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.644e-05/0.006882, allocations: 34.27 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.00689, allocations: 1.188 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.006899, allocations: 384 / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.006905, allocations: 5.094 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.006964, allocations: 19.91 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.007145, allocations: 112.6 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.007277, allocations: 43.56 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.007316, allocations: 16.59 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/0.009101, allocations: 362.3 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.009137, allocations: 38.33 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.009138, allocations: 0 / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001649/0.009303, allocations: 46.78 kB / 0.8144 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.009355, allocations: 59.28 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.009475, allocations: 155 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.009501, allocations: 29.7 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.009572, allocations: 126.9 kB / 0.8148 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.009601, allocations: 17 kB / 0.8148 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.009645, allocations: 23.38 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000274/0.009919, allocations: 492.1 kB / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.009936, allocations: 5.156 kB / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.009951, allocations: 7.984 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.009992, allocations: 15.69 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.009993, allocations: 4.531 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.818e-05/0.01008, allocations: 53.58 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.0101, allocations: 7.438 kB / 0.8154 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.0101, allocations: 0 / 0.8154 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01011, allocations: 0 / 0.8154 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.974e-05/0.01016, allocations: 4 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.01017, allocations: 3.938 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.01018, allocations: 4 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.01019, allocations: 0 / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001134/0.0103, allocations: 152.6 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.01032, allocations: 8.719 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.01045, allocations: 55.02 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01045, allocations: 0 / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.01046, allocations: 3.938 kB / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01046, allocations: 0 / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.01058, allocations: 112.6 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01058, allocations: 4.5 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.0106, allocations: 8.062 kB / 0.8157 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.01061, allocations: 15.92 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.01062, allocations: 0 / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01062, allocations: 0 / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01062, allocations: 0 / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.01075, allocations: 88.73 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.01076, allocations: 3.953 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.01077, allocations: 0 / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.242e-05/0.01078, allocations: 0 / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.0108, allocations: 4 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.01081, allocations: 3.938 kB / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.967e-05/0.01089, allocations: 135.2 kB / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01089, allocations: 0 / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002223/0.01111, allocations: 23.94 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0002857/0.0114, allocations: 135 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.0115, allocations: 23.67 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0115, allocations: 4.094 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.599e-05/0.01153, allocations: 15.69 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.01172, allocations: 4 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.01203, allocations: 110.3 kB / 0.8162 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.103e-05/0.0121, allocations: 63.28 kB / 0.8163 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.559e-05/0.01212, allocations: 4 kB / 0.8163 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.01214, allocations: 8.5 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01214, allocations: 4 kB / 0.8163 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.004251/0.0164, allocations: 0.9644 MB / 0.8173 GB, free: 11.23 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.493850894039497]