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.001049/0.001049, allocations: 93.06 kB / 19.65 MB, free: 280 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.001966/0.001966, allocations: 165 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 1.035/1.035, allocations: 177.1 MB / 203.4 MB, free: 5.656 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 2.192/2.192, allocations: 429.5 MB / 0.6732 GB, free: 4.008 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.214e-06/2.214e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.564e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.003006/0.003041, allocations: 1.354 MB / 0.8795 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.004156, allocations: 0.7742 MB / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.004185, allocations: 0 / 0.8803 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.004209, allocations: 4 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.557e-05/0.004275, allocations: 5.031 kB / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.004661, allocations: 96.86 kB / 0.8804 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.534e-05/0.004726, allocations: 15.88 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.004769, allocations: 0 / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.004811, allocations: 19.42 kB / 0.8804 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.004862, allocations: 3.938 kB / 0.8804 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.00488, allocations: 4 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.005141, allocations: 144 kB / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.005157, allocations: 0 / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.005179, allocations: 7.984 kB / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.005377, allocations: 127.7 kB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.005384, allocations: 0 / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/0.005386, allocations: 0 / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.005392, allocations: 0.5938 kB / 0.8807 GB, free: 3.723 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.0003754/0.005767, allocations: 369.8 kB / 0.881 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.00581, allocations: 8.031 kB / 0.881 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.005851, allocations: 4.938 kB / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.097e-05/0.005942, allocations: 104.6 kB / 0.8811 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.005955, allocations: 1.906 kB / 0.8811 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.005969, allocations: 4.375 kB / 0.8811 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.072e-05/0.006059, allocations: 45.75 kB / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.006068, allocations: 0 / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.006078, allocations: 1.281 kB / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.006086, allocations: 0 / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.236e-05/0.006118, allocations: 7.984 kB / 0.8812 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.006253, allocations: 112.6 kB / 0.8813 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.767e-05/0.00634, allocations: 35.06 kB / 0.8813 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.006366, allocations: 15.78 kB / 0.8814 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009025/0.007268, allocations: 356.6 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.007298, allocations: 41.31 kB / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.0073, allocations: 4 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001649/0.007465, allocations: 53.62 kB / 0.8818 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.007497, allocations: 55.39 kB / 0.8818 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.007569, allocations: 153.9 kB / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.00758, allocations: 29.7 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.007619, allocations: 130.9 kB / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.007648, allocations: 11.84 kB / 0.8822 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.007679, allocations: 23.38 kB / 0.8822 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.007808, allocations: 496.1 kB / 0.8827 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.007824, allocations: 4 kB / 0.8827 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.131e-05/0.007836, allocations: 8.125 kB / 0.8827 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.007869, allocations: 19.62 kB / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007871, allocations: 0 / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.731e-05/0.007939, allocations: 45.69 kB / 0.8827 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.007954, allocations: 7.938 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.007959, allocations: 0 / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.007975, allocations: 4 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.008033, allocations: 4 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.008039, allocations: 3.984 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.008051, allocations: 0 / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.008055, allocations: 3.938 kB / 0.8827 GB, free: 1.402 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.959e-05/0.008125, allocations: 164.5 kB / 0.8829 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-06/0.008131, allocations: 0 / 0.8829 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.008258, allocations: 57.31 kB / 0.883 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.008261, allocations: 0 / 0.883 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.008266, allocations: 4 kB / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.008269, allocations: 0 / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.89e-05/0.008348, allocations: 116.6 kB / 0.8831 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.00835, allocations: 0 / 0.8831 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.008369, allocations: 8 kB / 0.8831 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008371, allocations: 4 kB / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.008378, allocations: 0 / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.008382, allocations: 3.938 kB / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008383, allocations: 0 / 0.8831 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.916e-05/0.008452, allocations: 80.38 kB / 0.8832 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-06/0.00846, allocations: 4 kB / 0.8832 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.008472, allocations: 4 kB / 0.8832 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-06/0.00848, allocations: 3.938 kB / 0.8832 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.008497, allocations: 3.984 kB / 0.8832 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.0085, allocations: 4.422 kB / 0.8832 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.008534, allocations: 123.2 kB / 0.8833 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.008534, allocations: 0 / 0.8833 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001676/0.008702, allocations: 31.88 kB / 0.8833 GB, free: 0.7227 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.0002272/0.008929, allocations: 127.2 kB / 0.8835 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.889e-05/0.009018, allocations: 23.61 kB / 0.8835 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.009021, allocations: 96 / 0.8835 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.368e-05/0.009034, allocations: 23.67 kB / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.009206, allocations: 2.75 kB / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.009714, allocations: 118.3 kB / 0.8836 GB, free: 400 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.009755, allocations: 59.34 kB / 0.8837 GB, free: 320 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.607e-05/0.009781, allocations: 7.875 kB / 0.8837 GB, free: 312 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.009805, allocations: 16.5 kB / 0.8837 GB, free: 296 kB / 0.8386 GB Notification: Performance of SimCode: time 8.11e-07/0.009806, allocations: 4 kB / 0.8837 GB, free: 292 kB / 0.8386 GB Notification: Performance of Templates: time 0.002885/0.01269, allocations: 0.9574 MB / 0.8846 GB, free: 15.35 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.777944054920226]