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.001009/0.001009, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.001205/0.001205, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.966/0.966, allocations: 177.1 MB / 203.4 MB, free: 5.301 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.984/1.984, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.488e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001997/0.002021, allocations: 1.358 MB / 0.8795 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004151/0.006173, allocations: 0.7669 MB / 0.8803 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.006192, allocations: 0 / 0.8803 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.006214, allocations: 0 / 0.8803 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.605e-05/0.00627, allocations: 7.875 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.006608, allocations: 95.89 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.634e-05/0.006665, allocations: 16.47 kB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.006702, allocations: 4 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.316e-05/0.006736, allocations: 13.42 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.006782, allocations: 4 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.006797, allocations: 0 / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.00706, allocations: 144 kB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.00708, allocations: 9.453 kB / 0.8806 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.0071, allocations: 4 kB / 0.8806 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.007297, allocations: 127.7 kB / 0.8807 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.0073, allocations: 0 / 0.8807 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.22e-07/0.0073, allocations: 4 kB / 0.8807 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.007305, allocations: 0 / 0.8807 GB, free: 3.754 MB / 0.8386 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.0003328/0.007638, allocations: 364.5 kB / 0.881 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.007681, allocations: 8.031 kB / 0.881 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.007724, allocations: 4.938 kB / 0.881 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.216e-05/0.007816, allocations: 104.6 kB / 0.8811 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.007829, allocations: 4.375 kB / 0.8811 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.007838, allocations: 384 / 0.8811 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.554e-05/0.007923, allocations: 45.75 kB / 0.8812 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.007932, allocations: 0 / 0.8812 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.00794, allocations: 4 kB / 0.8812 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.007948, allocations: 0 / 0.8812 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.072e-05/0.007979, allocations: 7.984 kB / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.01112, allocations: 112.6 kB / 0.8813 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.465e-05/0.0112, allocations: 43.03 kB / 0.8814 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.01123, allocations: 19.73 kB / 0.8814 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.01226, allocations: 360.5 kB / 0.8817 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.01228, allocations: 37.39 kB / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.01229, allocations: 0 / 0.8817 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000136/0.01242, allocations: 49.62 kB / 0.8818 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.01245, allocations: 51.41 kB / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.385e-05/0.01251, allocations: 157.9 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.01252, allocations: 25.7 kB / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.01256, allocations: 126.9 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.01258, allocations: 11.84 kB / 0.8822 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.01261, allocations: 31.48 kB / 0.8822 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.01272, allocations: 496.1 kB / 0.8827 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.01274, allocations: 3.938 kB / 0.8827 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.649e-06/0.01275, allocations: 4 kB / 0.8827 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/0.01278, allocations: 15.69 kB / 0.8827 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01278, allocations: 0 / 0.8827 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.879e-05/0.01284, allocations: 45.69 kB / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.01285, allocations: 14.59 kB / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.01286, allocations: 0 / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.01287, allocations: 0 / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/0.01291, allocations: 7.984 kB / 0.8827 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01292, allocations: 4 kB / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.01293, allocations: 7.938 kB / 0.8828 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.01294, allocations: 4 kB / 0.8828 GB, free: 1.426 MB / 0.8386 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 6.192e-05/0.013, allocations: 152.6 kB / 0.8829 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-06/0.01301, allocations: 0 / 0.8829 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.0131, allocations: 57.31 kB / 0.883 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01311, allocations: 4 kB / 0.883 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01311, allocations: 0 / 0.883 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01311, allocations: 0 / 0.883 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.29e-05/0.01318, allocations: 124.6 kB / 0.8831 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01319, allocations: 0 / 0.8831 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.0132, allocations: 4 kB / 0.8831 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.0132, allocations: 0 / 0.8831 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.01321, allocations: 0 / 0.8831 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01321, allocations: 7.875 kB / 0.8831 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01321, allocations: 0 / 0.8831 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.723e-05/0.01328, allocations: 84.38 kB / 0.8832 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.01329, allocations: 4.422 kB / 0.8832 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.0133, allocations: 3.984 kB / 0.8832 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-06/0.01331, allocations: 3.938 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.01332, allocations: 8 kB / 0.8832 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.01332, allocations: 0 / 0.8832 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.141e-05/0.01335, allocations: 119.2 kB / 0.8833 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01335, allocations: 4 kB / 0.8833 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002172/0.01357, allocations: 27.88 kB / 0.8833 GB, free: 0.7539 MB / 0.8386 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.0001963/0.01377, allocations: 135.2 kB / 0.8835 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.427e-05/0.01385, allocations: 19.62 kB / 0.8835 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01385, allocations: 4 kB / 0.8835 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/0.01387, allocations: 15.67 kB / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.01405, allocations: 11.98 kB / 0.8835 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.01447, allocations: 114.3 kB / 0.8836 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.345e-05/0.0145, allocations: 59.34 kB / 0.8837 GB, free: 344 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.01453, allocations: 11.94 kB / 0.8837 GB, free: 332 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.01455, allocations: 8.5 kB / 0.8837 GB, free: 324 kB / 0.8386 GB Notification: Performance of SimCode: time 7.22e-07/0.01455, allocations: 0 / 0.8837 GB, free: 324 kB / 0.8386 GB Notification: Performance of Templates: time 0.002787/0.01733, allocations: 1.047 MB / 0.8847 GB, free: 15.29 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3573153470642865]