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.0009839/0.0009839, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009964/0.0009964, allocations: 161 kB / 23.82 MB, free: 0.75 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.9494/0.9494, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.767/1.767, 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 2.114e-06/2.114e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.841e-05, allocations: 3.344 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002714/0.002742, allocations: 1.353 MB / 0.7884 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.004153, allocations: 0.7618 MB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.004184, allocations: 0 / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.004216, allocations: 0 / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.004282, allocations: 7.875 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.004697, allocations: 96.42 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.004756, allocations: 13.41 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.004797, allocations: 7.984 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.793e-05/0.004835, allocations: 11.94 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.004884, allocations: 4 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.004899, allocations: 1.75 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.005228, allocations: 148 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.005243, allocations: 0 / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.005266, allocations: 4 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.005494, allocations: 131.6 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005497, allocations: 1.094 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005498, allocations: 0 / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.005503, allocations: 0 / 0.7896 GB, free: 9.926 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.0003602/0.005863, allocations: 361 kB / 0.7899 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.005907, allocations: 8.031 kB / 0.7899 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.005952, allocations: 11.83 kB / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.006049, allocations: 104.6 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.006064, allocations: 8.359 kB / 0.7901 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.006077, allocations: 384 / 0.7901 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.006179, allocations: 38.2 kB / 0.7901 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.00619, allocations: 192 / 0.7901 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.0062, allocations: 1.094 kB / 0.7901 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.00621, allocations: 3.938 kB / 0.7901 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.521e-05/0.006245, allocations: 8.516 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.006393, allocations: 108.6 kB / 0.7902 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.79e-05/0.006491, allocations: 44.75 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.00652, allocations: 11.75 kB / 0.7903 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.007845, allocations: 373.4 kB / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.007874, allocations: 37.39 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.007875, allocations: 0 / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001721/0.008047, allocations: 45.69 kB / 0.7907 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.008081, allocations: 55.34 kB / 0.7908 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.008173, allocations: 157.9 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.008186, allocations: 25.7 kB / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.008227, allocations: 126.9 kB / 0.7911 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.008261, allocations: 15.95 kB / 0.7911 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.008296, allocations: 27.38 kB / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.00843, allocations: 0.4883 MB / 0.7916 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.008447, allocations: 3.938 kB / 0.7916 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.008459, allocations: 4 kB / 0.7916 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.008498, allocations: 23.94 kB / 0.7916 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.008502, allocations: 4 kB / 0.7916 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.764e-05/0.00858, allocations: 41.7 kB / 0.7916 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.008598, allocations: 11.98 kB / 0.7917 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.008603, allocations: 0 / 0.7917 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.008621, allocations: 0 / 0.7917 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.008677, allocations: 8 kB / 0.7917 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.008684, allocations: 3.938 kB / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.008698, allocations: 3.938 kB / 0.7917 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.008705, allocations: 4 kB / 0.7917 GB, free: 7.625 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 7.558e-05/0.008781, allocations: 152.6 kB / 0.7918 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.008792, allocations: 0 / 0.7918 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.008922, allocations: 57.31 kB / 0.7919 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.008927, allocations: 7.984 kB / 0.7919 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.008931, allocations: 3.938 kB / 0.7919 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.008935, allocations: 0 / 0.7919 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.29e-05/0.009017, allocations: 112.6 kB / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.009019, allocations: 0 / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.009043, allocations: 4 kB / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.009046, allocations: 0 / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.009052, allocations: 0 / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.009054, allocations: 0 / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.009056, allocations: 3.984 kB / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.009294, allocations: 92.27 kB / 0.7921 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-06/0.0093, allocations: 0 / 0.7921 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.009313, allocations: 4 kB / 0.7921 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.009323, allocations: 0 / 0.7921 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.009341, allocations: 8 kB / 0.7921 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.009344, allocations: 3.938 kB / 0.7921 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.009382, allocations: 119.2 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009383, allocations: 4 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002681/0.009651, allocations: 31.86 kB / 0.7923 GB, free: 6.953 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.0002491/0.0099, allocations: 131.2 kB / 0.7924 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.918e-05/0.009999, allocations: 27.61 kB / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01, allocations: 0 / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.467e-05/0.01002, allocations: 11.69 kB / 0.7924 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.01023, allocations: 6.062 kB / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.01073, allocations: 118.7 kB / 0.7925 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.975e-05/0.01077, allocations: 55.3 kB / 0.7926 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.0108, allocations: 8 kB / 0.7926 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.01083, allocations: 8.5 kB / 0.7926 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.01083, allocations: 0 / 0.7926 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of Templates: time 0.003506/0.01433, allocations: 0.9802 MB / 0.7936 GB, free: 5.57 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: 5.154403493274003]