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.0009131/0.0009131, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.000979/0.000979, allocations: 161.4 kB / 24.17 MB, free: 328 kB / 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.8975/0.8975, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.874/1.874, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.162e-06/1.162e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.797e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001831/0.001849, allocations: 1.393 MB / 0.7614 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009402/0.002789, allocations: 0.7791 MB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.945e-05/0.002809, allocations: 0 / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.002825, allocations: 0.9844 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.002875, allocations: 1.75 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.003136, allocations: 86.19 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.936e-05/0.003186, allocations: 22.33 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.321e-05/0.003219, allocations: 1.25 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.486e-05/0.003254, allocations: 9.188 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.003298, allocations: 4.438 kB / 0.7623 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.003312, allocations: 4.844 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.00382, allocations: 152 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.00383, allocations: 0.5312 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.003843, allocations: 7.984 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.003995, allocations: 132.6 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003997, allocations: 0 / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003998, allocations: 0.9062 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.004002, allocations: 0 / 0.7626 GB, free: 3.992 MB / 0.7136 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.0002129/0.004215, allocations: 236.6 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.004243, allocations: 9.25 kB / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.101e-05/0.004264, allocations: 4.938 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.843e-05/0.004333, allocations: 106.1 kB / 0.763 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.004341, allocations: 5.875 kB / 0.763 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-06/0.004346, allocations: 384 / 0.763 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.364e-05/0.004399, allocations: 34.25 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.004406, allocations: 192 / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-06/0.004411, allocations: 1.031 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.004416, allocations: 3.938 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.004436, allocations: 12.67 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.138e-05/0.004517, allocations: 65 kB / 0.7631 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.004571, allocations: 27.31 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.004585, allocations: 13.55 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007141/0.005299, allocations: 333.7 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.00532, allocations: 33 kB / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.00532, allocations: 0 / 0.7635 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 8.966e-05/0.00541, allocations: 45.62 kB / 0.7635 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.005435, allocations: 51.41 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.193e-05/0.005477, allocations: 98.72 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.005485, allocations: 25.7 kB / 0.7637 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.005503, allocations: 82.2 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.005523, allocations: 7.938 kB / 0.7638 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.005548, allocations: 21.7 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.005613, allocations: 314.8 kB / 0.7641 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.00562, allocations: 4 kB / 0.7641 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.005626, allocations: 1.562 kB / 0.7641 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.122e-05/0.005647, allocations: 16.84 kB / 0.7641 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.005648, allocations: 0 / 0.7641 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.985e-05/0.005688, allocations: 37.64 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.0057, allocations: 10.73 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.005704, allocations: 0 / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.005714, allocations: 0 / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.205e-05/0.005746, allocations: 8 kB / 0.7641 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.00575, allocations: 4 kB / 0.7642 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.005759, allocations: 3.938 kB / 0.7642 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-06/0.005762, allocations: 0 / 0.7642 GB, free: 2.297 MB / 0.7136 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 4.456e-05/0.005806, allocations: 113.3 kB / 0.7643 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-06/0.00581, allocations: 4 kB / 0.7643 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.486e-05/0.005875, allocations: 53.23 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.005876, allocations: 0 / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.005877, allocations: 0 / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.00588, allocations: 0 / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.144e-05/0.005931, allocations: 73.83 kB / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005932, allocations: 0 / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/0.005943, allocations: 8 kB / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.005943, allocations: 1.969 kB / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-06/0.005947, allocations: 0 / 0.7644 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.00595, allocations: 3.984 kB / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00595, allocations: 0 / 0.7644 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.52e-05/0.005995, allocations: 69.38 kB / 0.7645 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-06/0.006, allocations: 5.016 kB / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-06/0.006007, allocations: 0 / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-06/0.006012, allocations: 0 / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.006022, allocations: 9.125 kB / 0.7645 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.006024, allocations: 0 / 0.7645 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.153e-06/0.006031, allocations: 5.734 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.006031, allocations: 0 / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001309/0.006162, allocations: 39.86 kB / 0.7645 GB, free: 1.875 MB / 0.7136 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.0001611/0.006323, allocations: 107.9 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.826e-05/0.006372, allocations: 16.84 kB / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.006374, allocations: 0 / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.107e-06/0.006383, allocations: 12.8 kB / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.895e-05/0.006472, allocations: 17.06 kB / 0.7647 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.006773, allocations: 113.7 kB / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.581e-05/0.006799, allocations: 51.36 kB / 0.7648 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.727e-05/0.006816, allocations: 5.125 kB / 0.7648 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.006852, allocations: 52.47 kB / 0.7649 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.006852, allocations: 0 / 0.7649 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of Templates: time 0.002342/0.009194, allocations: 1.073 MB / 0.7659 GB, free: 456 kB / 0.7136 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 -s gbode -gbm=radauIIA3 -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.604204246774316]