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.001/0.001, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001108/0.001108, allocations: 161.4 kB / 24.86 MB, free: 9.289 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.9301/0.9301, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.733/1.733, allocations: 359 MB / 0.6063 GB, free: 10.88 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.443e-06/1.443e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.16e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.003059/0.003081, allocations: 1.355 MB / 0.7897 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.004349, allocations: 0.7526 MB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.004377, allocations: 0 / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.004399, allocations: 4.938 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.004458, allocations: 7.938 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.004835, allocations: 98.23 kB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.004896, allocations: 15.88 kB / 0.7905 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.004943, allocations: 7.922 kB / 0.7905 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.00498, allocations: 8 kB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.005035, allocations: 7.984 kB / 0.7905 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.00505, allocations: 1.875 kB / 0.7905 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.005377, allocations: 140 kB / 0.7907 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.005393, allocations: 4 kB / 0.7907 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.005409, allocations: 4 kB / 0.7907 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.005631, allocations: 131.6 kB / 0.7908 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.005633, allocations: 0.7188 kB / 0.7908 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005634, allocations: 0 / 0.7908 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.005638, allocations: 0.5312 kB / 0.7908 GB, free: 9.66 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.0003275/0.005965, allocations: 361.9 kB / 0.7911 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.006006, allocations: 8.031 kB / 0.7912 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.006037, allocations: 5.234 kB / 0.7912 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.566e-05/0.006133, allocations: 116.6 kB / 0.7913 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.006151, allocations: 4.969 kB / 0.7913 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.006158, allocations: 4.312 kB / 0.7913 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.076e-05/0.006229, allocations: 30.77 kB / 0.7913 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.006237, allocations: 1.062 kB / 0.7913 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.006243, allocations: 384 / 0.7913 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.006251, allocations: 9.094 kB / 0.7913 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.693e-05/0.006278, allocations: 7.984 kB / 0.7913 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.006403, allocations: 97.27 kB / 0.7914 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.003e-05/0.006483, allocations: 40.41 kB / 0.7915 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.006506, allocations: 11.75 kB / 0.7915 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/0.007849, allocations: 323.1 kB / 0.7918 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.007875, allocations: 37.39 kB / 0.7918 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 2.655e-06/0.007877, allocations: 5.078 kB / 0.7918 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001306/0.008008, allocations: 45.69 kB / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.008041, allocations: 51.41 kB / 0.7919 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.096e-05/0.008122, allocations: 162.5 kB / 0.7921 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.008134, allocations: 29.83 kB / 0.7921 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.008174, allocations: 126.9 kB / 0.7922 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.008203, allocations: 15.78 kB / 0.7922 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.008239, allocations: 31.3 kB / 0.7923 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.008376, allocations: 492.1 kB / 0.7927 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.008386, allocations: 4 kB / 0.7927 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.093e-05/0.008397, allocations: 4 kB / 0.7927 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.008429, allocations: 19.66 kB / 0.7928 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.008431, allocations: 0 / 0.7928 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.596e-05/0.008507, allocations: 41.7 kB / 0.7928 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.00852, allocations: 4 kB / 0.7928 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.008526, allocations: 7.984 kB / 0.7928 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.008535, allocations: 0 / 0.7928 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.523e-05/0.008581, allocations: 7.938 kB / 0.7928 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.008583, allocations: 0 / 0.7928 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.0086, allocations: 7.938 kB / 0.7928 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.008605, allocations: 0 / 0.7928 GB, free: 7.434 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.43e-05/0.008679, allocations: 152.6 kB / 0.793 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.00869, allocations: 4 kB / 0.793 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.008796, allocations: 49.38 kB / 0.793 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.008798, allocations: 4 kB / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.008799, allocations: 0 / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.008805, allocations: 7.922 kB / 0.793 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.769e-05/0.008892, allocations: 97.27 kB / 0.7931 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.008894, allocations: 0 / 0.7931 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.008918, allocations: 4 kB / 0.7931 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.00892, allocations: 0 / 0.7931 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.008925, allocations: 3.938 kB / 0.7931 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.008926, allocations: 0 / 0.7931 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008927, allocations: 4 kB / 0.7931 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.722e-05/0.009014, allocations: 84.33 kB / 0.7932 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.00902, allocations: 4 kB / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.009033, allocations: 7.984 kB / 0.7932 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.009044, allocations: 0 / 0.7932 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.009057, allocations: 4.422 kB / 0.7932 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.009061, allocations: 0 / 0.7932 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.009099, allocations: 119.2 kB / 0.7933 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009099, allocations: 0 / 0.7933 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002598/0.009359, allocations: 31.88 kB / 0.7934 GB, free: 6.797 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.0002207/0.009579, allocations: 143.2 kB / 0.7935 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.115e-05/0.009651, allocations: 23.56 kB / 0.7935 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009652, allocations: 4 kB / 0.7935 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.00967, allocations: 15.67 kB / 0.7936 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.009866, allocations: 4 kB / 0.7936 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.01028, allocations: 110.4 kB / 0.7937 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.01032, allocations: 63.28 kB / 0.7937 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.01035, allocations: 3.938 kB / 0.7937 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.01041, allocations: 74.2 kB / 0.7938 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01041, allocations: 0 / 0.7938 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of Templates: time 0.003257/0.01367, allocations: 1.067 MB / 0.7948 GB, free: 5.246 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.797990818042308]