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.0009598/0.0009598, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009168/0.0009168, allocations: 173.3 kB / 23.5 MB, free: 1.055 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.9259/0.9259, allocations: 177.1 MB / 203.8 MB, free: 5.602 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 2.014/2.014, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] 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 1.392e-06/1.392e-06, allocations: 0 / 0.8782 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.756e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001558/0.001576, allocations: 1.404 MB / 0.8796 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1251/0.1266, allocations: 143.4 MB / 1.02 GB, free: 5.254 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.1267, allocations: 4 kB / 1.02 GB, free: 5.25 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 4.525e-05/0.1267, allocations: 0 / 1.02 GB, free: 5.25 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.1269, allocations: 43.86 kB / 1.02 GB, free: 5.207 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.1278, allocations: 382.1 kB / 1.02 GB, free: 4.832 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 9.23e-05/0.1279, allocations: 59.83 kB / 1.02 GB, free: 4.773 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.1279, allocations: 7.984 kB / 1.02 GB, free: 4.766 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 5.254e-05/0.128, allocations: 39.89 kB / 1.02 GB, free: 4.727 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1281, allocations: 55.88 kB / 1.02 GB, free: 4.672 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1281, allocations: 0 / 1.02 GB, free: 4.672 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.1285, allocations: 371 kB / 1.021 GB, free: 4.309 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.1286, allocations: 35.89 kB / 1.021 GB, free: 4.273 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.1286, allocations: 16 kB / 1.021 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.129, allocations: 295.2 kB / 1.021 GB, free: 3.969 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.129, allocations: 0 / 1.021 GB, free: 3.969 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.112e-06/0.129, allocations: 0 / 1.021 GB, free: 3.969 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.129, allocations: 3.938 kB / 1.021 GB, free: 3.965 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.0003523/0.1293, allocations: 431.9 kB / 1.021 GB, free: 3.508 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1294, allocations: 8.031 kB / 1.021 GB, free: 3.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.1294, allocations: 12.83 kB / 1.021 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.065e-05/0.1295, allocations: 120.3 kB / 1.021 GB, free: 3.344 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1295, allocations: 0 / 1.021 GB, free: 3.344 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1295, allocations: 4 kB / 1.021 GB, free: 3.34 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1296, allocations: 57.67 kB / 1.021 GB, free: 3.277 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.1296, allocations: 0 / 1.021 GB, free: 3.277 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1296, allocations: 4 kB / 1.021 GB, free: 3.273 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.1297, allocations: 11.98 kB / 1.022 GB, free: 3.262 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.663e-05/0.1297, allocations: 31.92 kB / 1.022 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1301, allocations: 315.6 kB / 1.022 GB, free: 2.887 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 9.31e-05/0.1301, allocations: 75.03 kB / 1.022 GB, free: 2.801 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.1302, allocations: 39.67 kB / 1.022 GB, free: 2.758 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003492/0.1305, allocations: 91.94 kB / 1.022 GB, free: 2.668 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.1306, allocations: 33.39 kB / 1.022 GB, free: 2.625 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=11): time 9.01e-07/0.1306, allocations: 0 / 1.022 GB, free: 2.625 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.000183/0.1307, allocations: 93.62 kB / 1.022 GB, free: 2.527 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.1308, allocations: 55.34 kB / 1.022 GB, free: 2.461 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.1311, allocations: 173.9 kB / 1.022 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.1311, allocations: 29.7 kB / 1.022 GB, free: 2.238 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.1312, allocations: 155 kB / 1.023 GB, free: 2.082 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.1312, allocations: 39.67 kB / 1.023 GB, free: 2.043 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1312, allocations: 35.38 kB / 1.023 GB, free: 2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.1313, allocations: 0.4923 MB / 1.023 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.1313, allocations: 19.92 kB / 1.023 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.003e-05/0.1314, allocations: 70.11 kB / 1.023 GB, free: 1.383 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.008e-05/0.1315, allocations: 106 kB / 1.023 GB, free: 1.254 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1315, allocations: 0 / 1.023 GB, free: 1.254 MB / 0.9792 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001133/0.1316, allocations: 117.4 kB / 1.023 GB, free: 1.133 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1316, allocations: 6.5 kB / 1.023 GB, free: 1.129 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1316, allocations: 4 kB / 1.023 GB, free: 1.125 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1316, allocations: 0 / 1.023 GB, free: 1.125 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.1317, allocations: 32.17 kB / 1.023 GB, free: 1.094 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1317, allocations: 3.938 kB / 1.023 GB, free: 1.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.1317, allocations: 20.05 kB / 1.023 GB, free: 1.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1317, allocations: 8 kB / 1.023 GB, free: 1.062 MB / 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 6.148e-05/0.1318, allocations: 164.5 kB / 1.024 GB, free: 0.8906 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.1318, allocations: 11.95 kB / 1.024 GB, free: 0.8789 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.132, allocations: 98.52 kB / 1.024 GB, free: 0.7773 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.132, allocations: 3.984 kB / 1.024 GB, free: 0.7734 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.132, allocations: 3.938 kB / 1.024 GB, free: 0.7695 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.132, allocations: 0 / 1.024 GB, free: 0.7695 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.781e-05/0.1321, allocations: 132.6 kB / 1.024 GB, free: 0.6055 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.1321, allocations: 0 / 1.024 GB, free: 0.6055 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.1321, allocations: 23.94 kB / 1.024 GB, free: 0.582 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1321, allocations: 7.922 kB / 1.024 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1321, allocations: 0 / 1.024 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.1321, allocations: 0 / 1.024 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1321, allocations: 0 / 1.024 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.1322, allocations: 231.8 kB / 1.024 GB, free: 336 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.1322, allocations: 19.88 kB / 1.024 GB, free: 316 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.1322, allocations: 0 / 1.024 GB, free: 316 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.859e-05/0.1323, allocations: 4 kB / 1.024 GB, free: 312 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.1323, allocations: 11.98 kB / 1.024 GB, free: 300 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1323, allocations: 7.938 kB / 1.024 GB, free: 292 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.133e-05/0.1323, allocations: 127.2 kB / 1.024 GB, free: 164 kB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1323, allocations: 0 / 1.024 GB, free: 164 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002182/0.1325, allocations: 83.73 kB / 1.024 GB, free: 80 kB / 0.9792 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.0002506/0.1328, allocations: 194.8 kB / 1.025 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.1329, allocations: 75.12 kB / 1.025 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.1329, allocations: 0 / 1.025 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.82e-05/0.1329, allocations: 39.61 kB / 1.025 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.1331, allocations: 17.59 kB / 1.025 GB, free: 15.74 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.1336, allocations: 167.1 kB / 1.025 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.441e-05/0.1336, allocations: 71.53 kB / 1.025 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.947e-05/0.1337, allocations: 48.81 kB / 1.025 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.1337, allocations: 12.5 kB / 1.025 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of SimCode: time 5.41e-07/0.1337, allocations: 4 kB / 1.025 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of Templates: time 0.003401/0.1371, allocations: 1.962 MB / 1.027 GB, free: 13.5 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.226838034810498]