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.001587/0.001587, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002042/0.002042, allocations: 216.2 kB / 22.26 MB, free: 5.125 MB / 14.72 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] 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 3.303/3.303, allocations: 0.5096 GB / 0.8147 GB, free: 17.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 61.62 kB / 1.184 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3693, allocations: 181.4 MB / 1.361 GB, free: 120 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002621/0.3719, allocations: 1.31 MB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3733, allocations: 0.7804 MB / 1.364 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.3733, allocations: 0 / 1.364 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.3733, allocations: 0 / 1.364 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.3733, allocations: 4 kB / 1.364 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.3737, allocations: 103.9 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.884e-05/0.3738, allocations: 15.88 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.3738, allocations: 0 / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/0.3738, allocations: 11.94 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.79e-05/0.3739, allocations: 15.91 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.3739, allocations: 0 / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.3743, allocations: 144.1 kB / 1.364 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.3743, allocations: 0 / 1.364 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.3743, allocations: 4 kB / 1.364 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3745, allocations: 111.7 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3745, allocations: 4 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3745, allocations: 0 / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3745, allocations: 0 / 1.364 GB, free: 13.61 MB / 1.061 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.0003806/0.3749, allocations: 262.2 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3749, allocations: 8.031 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.375, allocations: 0.9375 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3751, allocations: 110.5 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.3751, allocations: 384 / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.3751, allocations: 11.86 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.771e-05/0.3752, allocations: 37.7 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3752, allocations: 0 / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.3752, allocations: 0 / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3752, allocations: 7.938 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.117e-05/0.3753, allocations: 7.984 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.3754, allocations: 124.8 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.872e-05/0.3755, allocations: 38.45 kB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.3756, allocations: 12.92 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/0.3772, allocations: 372.5 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3773, allocations: 38.56 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3773, allocations: 0 / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000204/0.3775, allocations: 45.69 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.3775, allocations: 51.41 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.3776, allocations: 97.86 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3776, allocations: 25.7 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.3777, allocations: 80.14 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.3777, allocations: 12.03 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.3777, allocations: 21.7 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3779, allocations: 314.8 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.3779, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.3779, allocations: 8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.3779, allocations: 24.84 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3779, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.331e-05/0.378, allocations: 41.64 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.378, allocations: 4 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.378, allocations: 7.938 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.378, allocations: 3.984 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.3781, allocations: 4 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3781, allocations: 3.938 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/0.3781, allocations: 8 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.3781, allocations: 0 / 1.366 GB, free: 11.67 MB / 1.061 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 9.352e-05/0.3782, allocations: 109.8 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.3782, allocations: 4 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.3783, allocations: 57.66 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3783, allocations: 48 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3784, allocations: 3.984 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3784, allocations: 3.984 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.3785, allocations: 124.7 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3785, allocations: 0 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.3785, allocations: 11.92 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3785, allocations: 4 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.3785, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3785, allocations: 3.938 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3785, allocations: 4 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.3786, allocations: 73.06 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.3786, allocations: 8 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.3786, allocations: 0 / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.189e-05/0.3787, allocations: 0 / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.3787, allocations: 0 / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.3787, allocations: 0 / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.3787, allocations: 87.27 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3787, allocations: 0 / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002397/0.379, allocations: 35.88 kB / 1.366 GB, free: 11.07 MB / 1.061 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.0002387/0.3792, allocations: 115.2 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.367e-05/0.3793, allocations: 16.02 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3793, allocations: 12 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.3793, allocations: 4 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.3795, allocations: 11.88 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.3798, allocations: 110.1 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.3803, allocations: 0.6768 MB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.3803, allocations: 8 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.3803, allocations: 11.44 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3803, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of Templates: time 0.00354/0.3839, allocations: 0.9156 MB / 1.368 GB, free: 9.137 MB / 1.061 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: 9.067794456146657]