Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001258/0.001258, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001372/0.001372, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8781/0.8781, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.711/1.711, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.96e-05/3.156e-05, allocations: 2.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002416/0.002447, allocations: 1.294 MB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003632, allocations: 0.7334 MB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.003655, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.003678, allocations: 3.938 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.003732, allocations: 7.984 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.004103, allocations: 83.97 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.762e-05/0.00417, allocations: 27.8 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.004213, allocations: 0 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.004249, allocations: 11.98 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.004299, allocations: 4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.004315, allocations: 3.938 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.004618, allocations: 144 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.004634, allocations: 7.984 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.004654, allocations: 8 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.004863, allocations: 119.7 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004865, allocations: 0 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004866, allocations: 0 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.00487, allocations: 0 / 1.003 GB, free: 10.52 MB / 0.9636 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.0003166/0.005186, allocations: 262.3 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.005229, allocations: 13.28 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.005262, allocations: 4.938 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.177e-05/0.005354, allocations: 109.7 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.005371, allocations: 4.375 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.005382, allocations: 8.375 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.551e-05/0.005478, allocations: 45.75 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.005486, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.005496, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.0055, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.597e-05/0.005546, allocations: 11.98 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.005676, allocations: 101.3 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.6e-05/0.005762, allocations: 30.61 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.005787, allocations: 12.92 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.006856, allocations: 364.6 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.006878, allocations: 38.5 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.00688, allocations: 0 / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001377/0.007017, allocations: 57.62 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.007045, allocations: 51.41 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.922e-05/0.007095, allocations: 93.86 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.007103, allocations: 25.7 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.204e-05/0.007125, allocations: 88.06 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.007149, allocations: 7.953 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.007172, allocations: 13.72 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.672e-05/0.007249, allocations: 310.8 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.00726, allocations: 8 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.426e-05/0.007275, allocations: 7.984 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.007305, allocations: 29.19 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007307, allocations: 0 / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.97e-05/0.007357, allocations: 49.64 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.00737, allocations: 9.344 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.007374, allocations: 0 / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.007385, allocations: 0 / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.861e-05/0.007423, allocations: 4 kB / 1.005 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.007427, allocations: 4 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-06/0.007437, allocations: 0 / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.007441, allocations: 0 / 1.005 GB, free: 8.617 MB / 0.9636 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 4.905e-05/0.00749, allocations: 117.7 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-06/0.007493, allocations: 4 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.441e-05/0.007577, allocations: 65.23 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.007579, allocations: 0 / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.007583, allocations: 0 / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.007585, allocations: 0 / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.668e-05/0.007642, allocations: 101.3 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.007642, allocations: 0 / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.007654, allocations: 11.98 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.007655, allocations: 0 / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.007659, allocations: 0 / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.007661, allocations: 7.938 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007661, allocations: 0 / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.606e-05/0.007717, allocations: 73.06 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-06/0.007723, allocations: 7.953 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-06/0.007731, allocations: 0 / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-06/0.007739, allocations: 11.88 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.00775, allocations: 4 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-06/0.007752, allocations: 0 / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.301e-05/0.007775, allocations: 79.27 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007775, allocations: 0 / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001517/0.007926, allocations: 36.03 kB / 1.005 GB, free: 8.035 MB / 0.9636 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.0001618/0.008088, allocations: 123.1 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.413e-05/0.008152, allocations: 19.98 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.008153, allocations: 3.938 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.518e-06/0.008163, allocations: 8 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.008303, allocations: 11.94 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.008502, allocations: 126.6 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.008538, allocations: 59.34 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.008554, allocations: 12.83 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.008555, allocations: 0 / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of Templates: time 0.001637/0.01019, allocations: 0.9376 MB / 1.007 GB, free: 6.684 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.735774366185069]