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.001126/0.001126, 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.001235/0.001235, allocations: 165 kB / 24.17 MB, free: 332 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.9181/0.9181, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.76/1.76, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.503e-06/1.503e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.552e-05, allocations: 2.312 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002512/0.002537, allocations: 1.358 MB / 0.7614 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.003825, allocations: 0.7688 MB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.003847, allocations: 0 / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.003866, allocations: 0 / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.003926, allocations: 6.281 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.00428, allocations: 97.2 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.004336, allocations: 19.97 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.004373, allocations: 4 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.004411, allocations: 12.64 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.004465, allocations: 9.828 kB / 0.7623 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.004477, allocations: 0 / 0.7623 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.004765, allocations: 140 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.004781, allocations: 3.984 kB / 0.7624 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.376e-05/0.004794, allocations: 5.25 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.004993, allocations: 127.7 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004996, allocations: 4 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004997, allocations: 1.25 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.005, allocations: 0 / 0.7625 GB, free: 4.113 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.0002582/0.005258, allocations: 228.5 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.005295, allocations: 12.78 kB / 0.7628 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.005319, allocations: 4.875 kB / 0.7628 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.29e-05/0.005402, allocations: 114.6 kB / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.005414, allocations: 5.125 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.005423, allocations: 384 / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.199e-05/0.005485, allocations: 31.45 kB / 0.7629 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.005491, allocations: 192 / 0.7629 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.005497, allocations: 384 / 0.7629 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.005504, allocations: 3.938 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.005527, allocations: 9.203 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.291e-05/0.00562, allocations: 61 kB / 0.763 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.542e-05/0.005696, allocations: 39.28 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.005713, allocations: 8.859 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.006825, allocations: 321.8 kB / 0.7633 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.00685, allocations: 39.28 kB / 0.7634 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.006852, allocations: 0 / 0.7634 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001036/0.006955, allocations: 38.84 kB / 0.7634 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.006987, allocations: 55.34 kB / 0.7635 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.242e-05/0.007039, allocations: 103.4 kB / 0.7636 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.00705, allocations: 25.7 kB / 0.7636 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.003e-05/0.00707, allocations: 81.39 kB / 0.7637 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.007093, allocations: 7.953 kB / 0.7637 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.007123, allocations: 17.7 kB / 0.7637 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.007204, allocations: 325.2 kB / 0.764 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.007212, allocations: 0 / 0.764 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-06/0.007221, allocations: 4 kB / 0.764 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.656e-05/0.007248, allocations: 12.84 kB / 0.764 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.00725, allocations: 0 / 0.764 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.741e-05/0.007307, allocations: 41.62 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.00732, allocations: 8 kB / 0.7641 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.007323, allocations: 2.344 kB / 0.7641 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.007335, allocations: 0 / 0.7641 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.906e-05/0.007375, allocations: 4 kB / 0.7641 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.007377, allocations: 0 / 0.7641 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.007391, allocations: 3.938 kB / 0.7641 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.007395, allocations: 3.938 kB / 0.7641 GB, free: 2.422 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 5.419e-05/0.007449, allocations: 111.1 kB / 0.7642 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.007456, allocations: 3.984 kB / 0.7642 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.102e-05/0.007537, allocations: 48.12 kB / 0.7642 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.007539, allocations: 0 / 0.7642 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007541, allocations: 0 / 0.7642 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.007544, allocations: 4 kB / 0.7642 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.398e-05/0.007608, allocations: 65.84 kB / 0.7643 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.00761, allocations: 3.938 kB / 0.7643 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.007629, allocations: 8 kB / 0.7643 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.007632, allocations: 7.766 kB / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.007636, allocations: 0 / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.007636, allocations: 0 / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.007638, allocations: 0 / 0.7643 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.707e-05/0.007695, allocations: 69.44 kB / 0.7644 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.007703, allocations: 11.94 kB / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-06/0.007711, allocations: 0 / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-06/0.00772, allocations: 0 / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.007731, allocations: 8.031 kB / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.007733, allocations: 0 / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.415e-05/0.007748, allocations: 9.562 kB / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.007748, allocations: 0 / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002053/0.007953, allocations: 36.44 kB / 0.7644 GB, free: 1.996 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.0002009/0.008154, allocations: 106.5 kB / 0.7645 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.504e-05/0.008209, allocations: 18.78 kB / 0.7646 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.008212, allocations: 0 / 0.7646 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.008222, allocations: 8.859 kB / 0.7646 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.008333, allocations: 13.94 kB / 0.7646 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.008712, allocations: 124.8 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.041e-05/0.008742, allocations: 51.36 kB / 0.7647 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.008767, allocations: 9.031 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.008814, allocations: 55.36 kB / 0.7648 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.008814, allocations: 0.9688 kB / 0.7648 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of Templates: time 0.003069/0.01188, allocations: 1.054 MB / 0.7658 GB, free: 0.5742 MB / 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 -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.596995866857469]