Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001816/0.001816, 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.002212/0.002212, 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.9477/0.9477, allocations: 177.2 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.792/1.792, allocations: 377.9 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.639e-05, allocations: 13.7 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001877/0.001903, allocations: 1.348 MB / 0.8129 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.002901, allocations: 0.7553 MB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.002931, allocations: 1.094 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.002954, allocations: 3.938 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.003014, allocations: 11.91 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.003368, allocations: 93.52 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.154e-05/0.00343, allocations: 27.78 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.003467, allocations: 0 / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.003507, allocations: 8.531 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.003558, allocations: 8.703 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.003572, allocations: 0 / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.003818, allocations: 136.6 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.003834, allocations: 9.641 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.003857, allocations: 3.938 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.004034, allocations: 139.6 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.004037, allocations: 0 / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004038, allocations: 0 / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.004043, allocations: 0.5938 kB / 0.814 GB, free: 15.17 MB / 0.7761 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.000302/0.004345, allocations: 357 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.004384, allocations: 12.03 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.004426, allocations: 6.391 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.475e-05/0.00451, allocations: 108.6 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.004521, allocations: 384 / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.00453, allocations: 5.688 kB / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.249e-05/0.004612, allocations: 34.25 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.004619, allocations: 192 / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.00463, allocations: 4.375 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.004637, allocations: 9.688 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.867e-05/0.004666, allocations: 7.984 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.004791, allocations: 112.7 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.6e-05/0.004877, allocations: 39 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.004899, allocations: 13.97 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008786/0.005777, allocations: 365.3 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.005806, allocations: 33.39 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.005808, allocations: 1.062 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001467/0.005955, allocations: 49.62 kB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.005986, allocations: 59.34 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.00605, allocations: 161.9 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.00606, allocations: 25.7 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.006094, allocations: 126.9 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.006121, allocations: 19.78 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.006149, allocations: 23.38 kB / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003144/0.006464, allocations: 492.1 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.00648, allocations: 7.984 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.006488, allocations: 0 / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.006521, allocations: 19.69 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006523, allocations: 128 / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.019e-05/0.006583, allocations: 49.69 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.006596, allocations: 4 kB / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.006601, allocations: 0 / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.006614, allocations: 0 / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.006664, allocations: 7.938 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.00667, allocations: 3.938 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.121e-05/0.006681, allocations: 4 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.006686, allocations: 0 / 0.8161 GB, free: 12.89 MB / 0.7761 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.361e-05/0.00675, allocations: 156.6 kB / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.006757, allocations: 4 kB / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.00686, allocations: 57.38 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.006862, allocations: 0 / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.006867, allocations: 3.938 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.00687, allocations: 0 / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.567e-05/0.006935, allocations: 108.6 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.006938, allocations: 7.984 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.756e-05/0.006956, allocations: 4 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006958, allocations: 0 / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.006966, allocations: 8.312 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006967, allocations: 0 / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006968, allocations: 4 kB / 0.8165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.566e-05/0.007034, allocations: 88.31 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-06/0.007039, allocations: 0 / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.00705, allocations: 4 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-06/0.007057, allocations: 7.938 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.007073, allocations: 3.984 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.007075, allocations: 3.938 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.007107, allocations: 123.2 kB / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007107, allocations: 0 / 0.8167 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001715/0.007279, allocations: 31.88 kB / 0.8167 GB, free: 12.21 MB / 0.7761 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.0001898/0.007469, allocations: 127.2 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.04e-05/0.007549, allocations: 27.61 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.007551, allocations: 0 / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.126e-05/0.007562, allocations: 15.69 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.007722, allocations: 10.39 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.008132, allocations: 110.4 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.008165, allocations: 63.23 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.082e-05/0.008186, allocations: 0 / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.008206, allocations: 12.5 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.008207, allocations: 0 / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.002801/0.01101, allocations: 1.051 MB / 0.8181 GB, free: 10.75 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.882811344228685]