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.001305/0.001305, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001455/0.001455, allocations: 169 kB / 24.28 MB, free: 276 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 1.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.876/1.876, allocations: 359 MB / 0.6055 GB, free: 11.01 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.883e-06/1.883e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.812e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001913/0.001941, allocations: 1.342 MB / 0.7884 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000972/0.002913, allocations: 0.7559 MB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.002946, allocations: 0 / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.002962, allocations: 2.812 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.003014, allocations: 3.984 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.003367, allocations: 103.8 kB / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.00343, allocations: 15.92 kB / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.003469, allocations: 0 / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.003504, allocations: 8 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.003556, allocations: 17.31 kB / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.00357, allocations: 0 / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.003807, allocations: 136.1 kB / 0.7895 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.003821, allocations: 4.594 kB / 0.7895 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.003839, allocations: 0 / 0.7895 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.004025, allocations: 128.6 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.004029, allocations: 4 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.263e-06/0.00403, allocations: 4.688 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.004035, allocations: 0 / 0.7896 GB, free: 10.29 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.0002992/0.004334, allocations: 357.8 kB / 0.7899 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.004373, allocations: 15.97 kB / 0.7899 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.004409, allocations: 5.234 kB / 0.7899 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.191e-05/0.004491, allocations: 112.6 kB / 0.7901 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.004501, allocations: 1.562 kB / 0.7901 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.004509, allocations: 384 / 0.7901 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.481e-05/0.004584, allocations: 38.25 kB / 0.7901 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.004589, allocations: 0.7188 kB / 0.7901 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.004599, allocations: 384 / 0.7901 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.004608, allocations: 14.42 kB / 0.7901 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.719e-05/0.004635, allocations: 4 kB / 0.7901 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.004752, allocations: 116.6 kB / 0.7902 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.828e-05/0.00482, allocations: 39.03 kB / 0.7903 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.004844, allocations: 15.75 kB / 0.7903 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008426/0.005687, allocations: 362.9 kB / 0.7906 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.005713, allocations: 37.39 kB / 0.7907 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.005714, allocations: 1.844 kB / 0.7907 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001362/0.00585, allocations: 45.62 kB / 0.7907 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.005882, allocations: 55.34 kB / 0.7908 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.792e-05/0.00595, allocations: 157.9 kB / 0.7909 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.005959, allocations: 26.67 kB / 0.7909 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.005992, allocations: 130.9 kB / 0.7911 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.006017, allocations: 16.94 kB / 0.7911 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.006043, allocations: 23.38 kB / 0.7911 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.006153, allocations: 492.1 kB / 0.7916 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.006165, allocations: 4.125 kB / 0.7916 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.006174, allocations: 7.984 kB / 0.7916 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.006206, allocations: 19.69 kB / 0.7916 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006208, allocations: 0 / 0.7916 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.966e-05/0.006267, allocations: 53.62 kB / 0.7916 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.006281, allocations: 7.938 kB / 0.7917 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.006285, allocations: 0 / 0.7917 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.006296, allocations: 0 / 0.7917 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.103e-05/0.006337, allocations: 4 kB / 0.7917 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.006343, allocations: 3.938 kB / 0.7917 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.006356, allocations: 4 kB / 0.7917 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.00636, allocations: 4 kB / 0.7917 GB, free: 7.992 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 6.132e-05/0.006421, allocations: 152.6 kB / 0.7918 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-06/0.006428, allocations: 4 kB / 0.7918 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.006529, allocations: 65.56 kB / 0.7919 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.006532, allocations: 0 / 0.7919 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.006537, allocations: 3.938 kB / 0.7919 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006539, allocations: 48 / 0.7919 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.224e-05/0.006612, allocations: 112.6 kB / 0.792 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006613, allocations: 0 / 0.792 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.006629, allocations: 7.984 kB / 0.792 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.006631, allocations: 4 kB / 0.792 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.006638, allocations: 4 kB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.006638, allocations: 0 / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.006639, allocations: 0 / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.771e-05/0.006707, allocations: 88.33 kB / 0.7921 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.006713, allocations: 0 / 0.7921 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.006723, allocations: 4 kB / 0.7921 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-06/0.006728, allocations: 0 / 0.7921 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.006743, allocations: 0 / 0.7921 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.006747, allocations: 7.875 kB / 0.7921 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.598e-05/0.006783, allocations: 131.2 kB / 0.7922 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006783, allocations: 0 / 0.7922 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001654/0.006948, allocations: 31.88 kB / 0.7923 GB, free: 7.309 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.0001924/0.00714, allocations: 127.2 kB / 0.7924 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.674e-05/0.007217, allocations: 19.67 kB / 0.7924 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007219, allocations: 4.094 kB / 0.7924 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.007229, allocations: 15.62 kB / 0.7924 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.007376, allocations: 14.05 kB / 0.7924 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.007789, allocations: 116.4 kB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.01e-05/0.00782, allocations: 55.3 kB / 0.7926 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.007839, allocations: 4 kB / 0.7926 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.007857, allocations: 12.5 kB / 0.7926 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/0.007858, allocations: 4 kB / 0.7926 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of Templates: time 0.002512/0.01037, allocations: 0.9634 MB / 0.7936 GB, free: 5.934 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: 5.145697206957266]