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.001041/0.001041, allocations: 83.59 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.0009179/0.0009179, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9845/0.9845, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.819/1.819, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.352e-06/1.352e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.939e-05, allocations: 10.19 kB / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001636/0.001655, allocations: 1.352 MB / 0.8129 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002657, allocations: 0.7589 MB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.002681, allocations: 1.406 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.002706, allocations: 3.938 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.4e-05/0.00277, allocations: 3.938 kB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.003118, allocations: 93.36 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.239e-05/0.00318, allocations: 27.8 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.00322, allocations: 0 / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.003256, allocations: 12.52 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.003308, allocations: 9.078 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.003325, allocations: 0 / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.003566, allocations: 136.1 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.003581, allocations: 0.5938 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.003604, allocations: 7.984 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.003788, allocations: 136.1 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.003791, allocations: 1.375 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003791, allocations: 0 / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.003796, allocations: 0 / 0.814 GB, free: 15.14 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.0003201/0.004116, allocations: 360.2 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.004161, allocations: 9.188 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.004286, allocations: 9.234 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.972e-05/0.004366, allocations: 108.6 kB / 0.8145 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.004378, allocations: 1.312 kB / 0.8145 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.004392, allocations: 12.31 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.045e-05/0.004472, allocations: 31.17 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.004481, allocations: 192 / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.00449, allocations: 384 / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.004499, allocations: 4.969 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.532e-05/0.004534, allocations: 11.97 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.004657, allocations: 113.6 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.004734, allocations: 47.09 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.004756, allocations: 13.16 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008501/0.005606, allocations: 363.1 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.005631, allocations: 37.39 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.005632, allocations: 0 / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001403/0.005772, allocations: 45.69 kB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.005804, allocations: 55.34 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.005868, allocations: 154.7 kB / 0.8154 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.005878, allocations: 27.36 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.005908, allocations: 126.9 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.005945, allocations: 27.7 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.005969, allocations: 19.38 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.006078, allocations: 492.2 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.006092, allocations: 12 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.006103, allocations: 7.984 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.859e-05/0.006131, allocations: 11.69 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006133, allocations: 0 / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.315e-05/0.006187, allocations: 45.69 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.006199, allocations: 4 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.006204, allocations: 4 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.006219, allocations: 0 / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.006269, allocations: 7.938 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.006277, allocations: 3.938 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.02e-05/0.006287, allocations: 4 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.006291, allocations: 0 / 0.8161 GB, free: 12.85 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.13e-05/0.006352, allocations: 160.6 kB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-06/0.006357, allocations: 0 / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.375e-05/0.00645, allocations: 53.36 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.006452, allocations: 0 / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.006458, allocations: 7.938 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.006461, allocations: 4 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.625e-05/0.006527, allocations: 112.6 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006528, allocations: 0 / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.006543, allocations: 8 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006545, allocations: 0 / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.006553, allocations: 7.922 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.006553, allocations: 0 / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006554, allocations: 384 / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.467e-05/0.006619, allocations: 92.31 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.006625, allocations: 0 / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.006634, allocations: 0 / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-06/0.00664, allocations: 0 / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.006656, allocations: 4 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.006659, allocations: 3.938 kB / 0.8165 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.215e-05/0.006691, allocations: 123.2 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006691, allocations: 0 / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001654/0.006856, allocations: 43.8 kB / 0.8167 GB, free: 12.17 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.0001791/0.007035, allocations: 123.2 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.576e-05/0.007111, allocations: 31.7 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.007113, allocations: 0 / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.067e-05/0.007123, allocations: 15.69 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.007274, allocations: 4 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.007717, allocations: 113 kB / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.606e-05/0.007753, allocations: 63.23 kB / 0.817 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.986e-05/0.007773, allocations: 4 kB / 0.817 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.007793, allocations: 12.5 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.007794, allocations: 0 / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.002602/0.0104, allocations: 0.9584 MB / 0.818 GB, free: 10.8 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.269650268834084]