Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001021/0.001021, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001135/0.001135, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9045/0.9045, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.679/1.679, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.735e-05, allocations: 7.797 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001687/0.001704, allocations: 1.351 MB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009218/0.002626, allocations: 0.76 MB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.002647, allocations: 5.031 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.002666, allocations: 0 / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.002716, allocations: 0 / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.003006, allocations: 101 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.321e-05/0.003059, allocations: 19.92 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.003095, allocations: 1.438 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.146e-05/0.003126, allocations: 11.94 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.003175, allocations: 7.984 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.003187, allocations: 1.156 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.003402, allocations: 140 kB / 0.7895 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.003414, allocations: 0 / 0.7895 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.003431, allocations: 8.938 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.003586, allocations: 127.6 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003588, allocations: 3.938 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.72e-07/0.003588, allocations: 1.094 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003593, allocations: 0 / 0.7896 GB, free: 9.941 MB / 0.7448 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.000283/0.003876, allocations: 360.2 kB / 0.7899 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.003911, allocations: 9.625 kB / 0.7899 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.003947, allocations: 9.234 kB / 0.7899 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.742e-05/0.004024, allocations: 112.6 kB / 0.7901 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.004036, allocations: 4.375 kB / 0.7901 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.004044, allocations: 5.656 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.159e-05/0.004126, allocations: 30.27 kB / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.004132, allocations: 192 / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.004141, allocations: 3.344 kB / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.004149, allocations: 3.938 kB / 0.7901 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.892e-05/0.004178, allocations: 11.92 kB / 0.7901 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.004284, allocations: 112.6 kB / 0.7902 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.004356, allocations: 43.16 kB / 0.7903 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.004378, allocations: 11.69 kB / 0.7903 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008171/0.005195, allocations: 362.2 kB / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.005218, allocations: 40.33 kB / 0.7907 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.005218, allocations: 0 / 0.7907 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000124/0.005342, allocations: 49.62 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.005369, allocations: 55.34 kB / 0.7908 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.622e-05/0.005425, allocations: 153.9 kB / 0.7909 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.005434, allocations: 25.7 kB / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.005462, allocations: 127.8 kB / 0.7911 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.005489, allocations: 19.83 kB / 0.7911 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.005511, allocations: 19.38 kB / 0.7911 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002363/0.005747, allocations: 497.2 kB / 0.7916 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.005759, allocations: 8 kB / 0.7916 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.005769, allocations: 7.984 kB / 0.7916 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.005794, allocations: 12.75 kB / 0.7916 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.005796, allocations: 0 / 0.7916 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.841e-05/0.005844, allocations: 53.56 kB / 0.7916 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.005856, allocations: 5.125 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.00586, allocations: 4 kB / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.005871, allocations: 0 / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.974e-05/0.005911, allocations: 4.688 kB / 0.7917 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.005917, allocations: 3.938 kB / 0.7917 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-06/0.005926, allocations: 0.8281 kB / 0.7917 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-06/0.00593, allocations: 1.188 kB / 0.7917 GB, free: 7.664 MB / 0.7448 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 5.459e-05/0.005984, allocations: 160.6 kB / 0.7918 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-06/0.005988, allocations: 1 kB / 0.7918 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.16e-05/0.00608, allocations: 65.22 kB / 0.7919 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006081, allocations: 128 / 0.7919 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.006085, allocations: 7.938 kB / 0.7919 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006087, allocations: 4 kB / 0.7919 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.429e-05/0.006142, allocations: 112.6 kB / 0.792 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.006142, allocations: 4 kB / 0.792 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.006154, allocations: 4 kB / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.006155, allocations: 0 / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.006162, allocations: 3.984 kB / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.006162, allocations: 0 / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.006163, allocations: 0 / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.593e-05/0.006219, allocations: 88.27 kB / 0.7921 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-06/0.006223, allocations: 8 kB / 0.7921 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.006231, allocations: 0 / 0.7921 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.229e-06/0.006236, allocations: 0 / 0.7921 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.00625, allocations: 4 kB / 0.7921 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.006252, allocations: 3.938 kB / 0.7921 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.632e-05/0.006278, allocations: 123.2 kB / 0.7922 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006279, allocations: 0 / 0.7922 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001432/0.006422, allocations: 35.86 kB / 0.7923 GB, free: 6.973 MB / 0.7448 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.0001608/0.006583, allocations: 123.3 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7e-05/0.006653, allocations: 23.67 kB / 0.7924 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006654, allocations: 3.938 kB / 0.7924 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/0.006665, allocations: 19.62 kB / 0.7924 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.006794, allocations: 6.062 kB / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.007159, allocations: 110.4 kB / 0.7925 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.822e-05/0.007188, allocations: 63.3 kB / 0.7926 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.802e-05/0.007206, allocations: 4 kB / 0.7926 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.007224, allocations: 8.5 kB / 0.7926 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.007224, allocations: 0 / 0.7926 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of Templates: time 0.002435/0.00966, allocations: 1.047 MB / 0.7936 GB, free: 5.527 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.679860232397914]