Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.0009401/0.0009401, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009474/0.0009474, allocations: 169 kB / 23.03 MB, free: 1.539 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.8774/0.8774, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.928/1.928, allocations: 429.5 MB / 0.6733 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.985e-05, allocations: 5.781 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002266/0.002295, allocations: 1.398 MB / 0.8796 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1239/0.1262, allocations: 143.7 MB / 1.02 GB, free: 4.684 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.1263, allocations: 0 / 1.02 GB, free: 4.684 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 4.848e-05/0.1263, allocations: 7.922 kB / 1.02 GB, free: 4.676 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.1265, allocations: 39.88 kB / 1.02 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008816/0.1274, allocations: 378.2 kB / 1.02 GB, free: 4.266 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 9.95e-05/0.1275, allocations: 71.75 kB / 1.02 GB, free: 4.195 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.1275, allocations: 0 / 1.02 GB, free: 4.195 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.1275, allocations: 35.95 kB / 1.02 GB, free: 4.16 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 9.621e-05/0.1276, allocations: 59.86 kB / 1.02 GB, free: 4.102 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1276, allocations: 4 kB / 1.02 GB, free: 4.098 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.1281, allocations: 367 kB / 1.021 GB, free: 3.738 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.1282, allocations: 35.91 kB / 1.021 GB, free: 3.703 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.1282, allocations: 15.98 kB / 1.021 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.1286, allocations: 299.2 kB / 1.021 GB, free: 3.395 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1286, allocations: 0 / 1.021 GB, free: 3.395 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1286, allocations: 0 / 1.021 GB, free: 3.395 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1286, allocations: 4 kB / 1.021 GB, free: 3.391 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003245/0.1289, allocations: 424 kB / 1.022 GB, free: 2.941 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1289, allocations: 12.03 kB / 1.022 GB, free: 2.93 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.129, allocations: 8.891 kB / 1.022 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.66e-05/0.129, allocations: 116.2 kB / 1.022 GB, free: 2.781 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.129, allocations: 11.98 kB / 1.022 GB, free: 2.77 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1291, allocations: 4 kB / 1.022 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.1292, allocations: 57.67 kB / 1.022 GB, free: 2.703 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.1292, allocations: 0 / 1.022 GB, free: 2.703 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1292, allocations: 4 kB / 1.022 GB, free: 2.699 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/0.1292, allocations: 11.94 kB / 1.022 GB, free: 2.688 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.809e-05/0.1293, allocations: 31.97 kB / 1.022 GB, free: 2.656 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.1296, allocations: 327.5 kB / 1.022 GB, free: 2.301 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 9.442e-05/0.1297, allocations: 67.05 kB / 1.022 GB, free: 2.223 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.1297, allocations: 35.73 kB / 1.022 GB, free: 2.184 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.1301, allocations: 83.91 kB / 1.022 GB, free: 2.102 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1301, allocations: 37.39 kB / 1.022 GB, free: 2.055 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.1301, allocations: 96 / 1.022 GB, free: 2.055 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.0001842/0.1303, allocations: 101.4 kB / 1.022 GB, free: 1.949 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1303, allocations: 59.34 kB / 1.022 GB, free: 1.879 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.1304, allocations: 169.9 kB / 1.023 GB, free: 1.695 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.1304, allocations: 25.7 kB / 1.023 GB, free: 1.664 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.1304, allocations: 159 kB / 1.023 GB, free: 1.504 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.1305, allocations: 39.69 kB / 1.023 GB, free: 1.465 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.1305, allocations: 39.36 kB / 1.023 GB, free: 1.418 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.1306, allocations: 0.4884 MB / 1.023 GB, free: 0.918 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-05/0.1306, allocations: 15.98 kB / 1.023 GB, free: 0.9023 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.002e-05/0.1307, allocations: 76.86 kB / 1.023 GB, free: 0.8047 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.52e-05/0.1307, allocations: 98.05 kB / 1.024 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1307, allocations: 8 kB / 1.024 GB, free: 0.6758 MB / 0.9792 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001119/0.1309, allocations: 113.4 kB / 1.024 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1309, allocations: 8 kB / 1.024 GB, free: 0.5508 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1309, allocations: 0 / 1.024 GB, free: 0.5508 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1309, allocations: 4 kB / 1.024 GB, free: 0.5469 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.131, allocations: 28.17 kB / 1.024 GB, free: 0.5195 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.131, allocations: 7.938 kB / 1.024 GB, free: 0.5117 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.131, allocations: 19.89 kB / 1.024 GB, free: 0.4922 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.131, allocations: 8.156 kB / 1.024 GB, free: 496 kB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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 0.0002041/0.1312, allocations: 160.6 kB / 1.024 GB, free: 324 kB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.1312, allocations: 11.94 kB / 1.024 GB, free: 312 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.1314, allocations: 106.4 kB / 1.024 GB, free: 200 kB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1314, allocations: 4 kB / 1.024 GB, free: 196 kB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1314, allocations: 3.938 kB / 1.024 GB, free: 192 kB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1314, allocations: 3.984 kB / 1.024 GB, free: 188 kB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.672e-05/0.1315, allocations: 124.6 kB / 1.024 GB, free: 28 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1315, allocations: 4 kB / 1.024 GB, free: 24 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.1315, allocations: 15.98 kB / 1.024 GB, free: 8 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1315, allocations: 4 kB / 1.024 GB, free: 4 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1315, allocations: 0 / 1.024 GB, free: 4 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1315, allocations: 0 / 1.024 GB, free: 4 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1315, allocations: 0 / 1.024 GB, free: 4 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.1317, allocations: 235.8 kB / 1.024 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.1317, allocations: 23.88 kB / 1.024 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.1317, allocations: 3.938 kB / 1.024 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.787e-05/0.1317, allocations: 4 kB / 1.024 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.1317, allocations: 7.984 kB / 1.024 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1318, allocations: 11.94 kB / 1.024 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.03e-05/0.1318, allocations: 127.2 kB / 1.025 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1318, allocations: 0 / 1.025 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002225/0.132, allocations: 75.73 kB / 1.025 GB, free: 15.5 MB / 0.9948 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 (11): * Single equations (assignments): 11 * 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.0002547/0.1323, allocations: 190.9 kB / 1.025 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.1324, allocations: 75.53 kB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1324, allocations: 3.938 kB / 1.025 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.1324, allocations: 31.67 kB / 1.025 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.1326, allocations: 16.83 kB / 1.025 GB, free: 15.17 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.133, allocations: 166.9 kB / 1.025 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.563e-05/0.133, allocations: 67.59 kB / 1.025 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.882e-05/0.1331, allocations: 45.03 kB / 1.025 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.1331, allocations: 20.48 kB / 1.025 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of SimCode: time 5.51e-07/0.1331, allocations: 4 kB / 1.025 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of Templates: time 0.003873/0.137, allocations: 2.29 MB / 1.027 GB, free: 12.6 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.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.120908644981682]