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.001016/0.001016, allocations: 80.39 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.001203/0.001203, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9764/0.9764, 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 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.834/1.834, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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.533e-06/1.533e-06, allocations: 0.5469 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.301e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002333/0.002356, allocations: 1.352 MB / 0.8141 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.003601, allocations: 0.7591 MB / 0.8149 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.003625, allocations: 0 / 0.8149 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.003645, allocations: 0.6562 kB / 0.8149 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/0.003702, allocations: 8.969 kB / 0.8149 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.004036, allocations: 91.89 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.792e-05/0.004094, allocations: 25.02 kB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.004135, allocations: 4 kB / 0.815 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.262e-05/0.004168, allocations: 4 kB / 0.815 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.00422, allocations: 9.359 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.004234, allocations: 0 / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.004523, allocations: 144 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.004537, allocations: 0 / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.004556, allocations: 13.69 kB / 0.8151 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.00476, allocations: 123.7 kB / 0.8153 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004762, allocations: 0 / 0.8153 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004763, allocations: 4 kB / 0.8153 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.004767, allocations: 1.219 kB / 0.8153 GB, free: 14.93 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.0003151/0.005082, allocations: 360.2 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.005121, allocations: 12.03 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.005148, allocations: 5.734 kB / 0.8156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.693e-05/0.005235, allocations: 114.5 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.005248, allocations: 4.375 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-06/0.005254, allocations: 384 / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.211e-05/0.005316, allocations: 38.2 kB / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.005323, allocations: 192 / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.005329, allocations: 384 / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.005338, allocations: 10.42 kB / 0.8158 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.621e-05/0.005364, allocations: 7.984 kB / 0.8158 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.005486, allocations: 93.27 kB / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/0.005565, allocations: 43.16 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.005583, allocations: 7.688 kB / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.006817, allocations: 324 kB / 0.8162 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.00685, allocations: 49.27 kB / 0.8163 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.006851, allocations: 0 / 0.8163 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.000121/0.006972, allocations: 43.53 kB / 0.8163 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.007003, allocations: 51.41 kB / 0.8164 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.007074, allocations: 157.9 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.007085, allocations: 25.7 kB / 0.8165 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.007123, allocations: 131.4 kB / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.007154, allocations: 19.83 kB / 0.8167 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.007185, allocations: 20.81 kB / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.007323, allocations: 496.1 kB / 0.8172 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.007332, allocations: 4 kB / 0.8172 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.002e-05/0.007342, allocations: 3.938 kB / 0.8172 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.007373, allocations: 27.8 kB / 0.8172 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.007375, allocations: 0 / 0.8172 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.575e-05/0.007441, allocations: 33.7 kB / 0.8173 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.007455, allocations: 11.98 kB / 0.8173 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007459, allocations: 0 / 0.8173 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.007467, allocations: 0 / 0.8173 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.713e-05/0.007504, allocations: 4 kB / 0.8173 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.007507, allocations: 0 / 0.8173 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.476e-05/0.007522, allocations: 3.938 kB / 0.8173 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.007527, allocations: 4 kB / 0.8173 GB, free: 12.71 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 7.095e-05/0.007598, allocations: 164.5 kB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.007608, allocations: 4 kB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.872e-05/0.007696, allocations: 49.31 kB / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007698, allocations: 0 / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.007702, allocations: 7.984 kB / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.007706, allocations: 3.938 kB / 0.8175 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.139e-05/0.007788, allocations: 93.27 kB / 0.8176 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007789, allocations: 384 / 0.8176 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.00781, allocations: 4 kB / 0.8176 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007812, allocations: 0 / 0.8176 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.007815, allocations: 4 kB / 0.8176 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007817, allocations: 0 / 0.8176 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.007818, allocations: 0 / 0.8176 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.5e-05/0.007893, allocations: 92.25 kB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.0079, allocations: 7.938 kB / 0.8177 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.007911, allocations: 7.984 kB / 0.8177 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.023e-05/0.007921, allocations: 0 / 0.8177 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.007932, allocations: 0 / 0.8177 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.007935, allocations: 4 kB / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.007977, allocations: 123.2 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.007977, allocations: 96 / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002523/0.008229, allocations: 39.88 kB / 0.8179 GB, free: 12.05 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.0001939/0.008423, allocations: 123.2 kB / 0.818 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.016e-05/0.008493, allocations: 23.56 kB / 0.818 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.008495, allocations: 0 / 0.818 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.448e-05/0.008509, allocations: 19.67 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.008686, allocations: 8 kB / 0.818 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.009057, allocations: 110.4 kB / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.626e-05/0.009103, allocations: 55.34 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.009128, allocations: 4 kB / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.009181, allocations: 70.2 kB / 0.8182 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.009181, allocations: 4 kB / 0.8183 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.003063/0.01224, allocations: 1.078 MB / 0.8193 GB, free: 10.52 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: 5.0285875629633665]