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.001659/0.001659, allocations: 78.25 kB / 19.76 MB, free: 2.031 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.001991/0.001991, allocations: 159.5 kB / 23.01 MB, free: 4.949 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.446/1.446, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.841/2.841, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 177] 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.002066/0.002066, allocations: 71.84 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7786/0.7807, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002091/0.7828, allocations: 1.304 MB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.7838, allocations: 0.7187 MB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.7838, allocations: 1.844 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.7839, allocations: 4.734 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.7839, allocations: 0.7031 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.7842, allocations: 102.8 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.816e-05/0.7843, allocations: 17.95 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.7843, allocations: 1.641 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.718e-05/0.7843, allocations: 4.312 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.7844, allocations: 13.3 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.7844, allocations: 1.094 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.7847, allocations: 141.5 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.7847, allocations: 4.688 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.7847, allocations: 3.969 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.7849, allocations: 109.7 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.7849, allocations: 4 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7849, allocations: 0 / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.7849, allocations: 0 / 1.189 GB, free: 14.71 MB / 1.076 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.0002528/0.7852, allocations: 254.8 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.7852, allocations: 8.625 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.7853, allocations: 2.281 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.962e-05/0.7853, allocations: 108.4 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.7853, allocations: 6.281 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.7854, allocations: 5.375 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.912e-05/0.7854, allocations: 37.62 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7854, allocations: 4 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.7854, allocations: 0 / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.7855, allocations: 1.031 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.786e-05/0.7855, allocations: 11.88 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.682e-05/0.7856, allocations: 111.6 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.171e-05/0.7857, allocations: 30.88 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.7857, allocations: 10.61 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/0.7874, allocations: 367.4 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.7874, allocations: 36.31 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.7874, allocations: 0 / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0001419/0.7876, allocations: 46.66 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.7876, allocations: 52.91 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.217e-05/0.7876, allocations: 97.59 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-06/0.7876, allocations: 30.55 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.263e-05/0.7876, allocations: 89.95 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.7877, allocations: 5.734 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.7877, allocations: 13.77 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.751e-05/0.7877, allocations: 317.2 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.7877, allocations: 3.984 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.7878, allocations: 8.406 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.329e-05/0.7878, allocations: 25.45 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7878, allocations: 0 / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.068e-05/0.7879, allocations: 48.25 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.7879, allocations: 9.656 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.7879, allocations: 0 / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.7879, allocations: 1.875 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.7879, allocations: 4.656 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.7879, allocations: 0 / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.788, allocations: 5.078 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.788, allocations: 2.172 kB / 1.191 GB, free: 13.29 MB / 1.076 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 3.897e-05/0.788, allocations: 107.8 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.788, allocations: 13 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.7881, allocations: 55.91 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7881, allocations: 1.25 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7881, allocations: 0 / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.7881, allocations: 0 / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.07e-05/0.7882, allocations: 107.1 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.7882, allocations: 1.094 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.7882, allocations: 5.359 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7882, allocations: 3.938 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.7882, allocations: 2.25 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7882, allocations: 0 / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7882, allocations: 1.375 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.582e-05/0.7883, allocations: 74.31 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.7883, allocations: 5.75 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.7883, allocations: 4.703 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/0.7883, allocations: 5.156 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.7883, allocations: 6.734 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.7883, allocations: 1.344 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.625e-05/0.7883, allocations: 78.59 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.7883, allocations: 0 / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002338/0.7886, allocations: 27.28 kB / 1.191 GB, free: 12.81 MB / 1.076 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.0001906/0.7888, allocations: 130.1 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.181e-05/0.7888, allocations: 22.95 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7888, allocations: 1.25 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.548e-05/0.7889, allocations: 6.125 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.789, allocations: 5.469 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.7893, allocations: 119.1 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.747e-05/0.7893, allocations: 58.12 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.7893, allocations: 3.219 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.7893, allocations: 15.38 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.7893, allocations: 0 / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of Templates: time 0.003369/0.7927, allocations: 0.9225 MB / 1.192 GB, free: 12.37 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.486693706014194]