Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001373/0.001373, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001001/0.001001, allocations: 181.3 kB / 24.09 MB, free: 420 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 0.9356/0.9356, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.68/1.68, allocations: 359 MB / 0.6055 GB, free: 10.84 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.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.337e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002516/0.002539, allocations: 1.386 MB / 0.789 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1274/0.1299, allocations: 141 MB / 0.9266 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.1299, allocations: 0 / 0.9266 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 4.106e-05/0.13, allocations: 7.922 kB / 0.9266 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.1301, allocations: 47.86 kB / 0.9267 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.131, allocations: 370.1 kB / 0.927 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 9.332e-05/0.1311, allocations: 63.83 kB / 0.9271 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.051e-05/0.1312, allocations: 0 / 0.9271 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 5.439e-05/0.1312, allocations: 43.89 kB / 0.9271 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 9.149e-05/0.1313, allocations: 51.92 kB / 0.9272 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1313, allocations: 4 kB / 0.9272 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005258/0.1318, allocations: 374.9 kB / 0.9276 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.1319, allocations: 23.98 kB / 0.9276 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.1319, allocations: 27.92 kB / 0.9276 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.1323, allocations: 299.2 kB / 0.9279 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1323, allocations: 0 / 0.9279 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1323, allocations: 0 / 0.9279 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1323, allocations: 0 / 0.9279 GB, free: 11.99 MB / 0.8855 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.0003353/0.1326, allocations: 431.9 kB / 0.9283 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1327, allocations: 8.031 kB / 0.9283 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.1327, allocations: 8.891 kB / 0.9283 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.666e-05/0.1328, allocations: 124.5 kB / 0.9284 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.1328, allocations: 384 / 0.9284 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.1328, allocations: 8.375 kB / 0.9284 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.705e-05/0.1329, allocations: 57.59 kB / 0.9285 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1329, allocations: 4 kB / 0.9285 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.1329, allocations: 0 / 0.9285 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.1329, allocations: 16 kB / 0.9285 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.133, allocations: 27.06 kB / 0.9285 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.1332, allocations: 292.1 kB / 0.9288 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.953e-05/0.1333, allocations: 67.03 kB / 0.9289 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.1333, allocations: 31.73 kB / 0.9289 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003085/0.1336, allocations: 89.59 kB / 0.929 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1336, allocations: 45.38 kB / 0.9291 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.1336, allocations: 3.938 kB / 0.9291 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0001428/0.1338, allocations: 85.66 kB / 0.9291 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.1338, allocations: 55.41 kB / 0.9292 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.656e-05/0.1339, allocations: 165.9 kB / 0.9293 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.1339, allocations: 29.7 kB / 0.9294 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.1339, allocations: 143.1 kB / 0.9295 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.1339, allocations: 43.62 kB / 0.9296 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.134, allocations: 39.36 kB / 0.9296 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1341, allocations: 0.5 MB / 0.9301 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.1341, allocations: 11.98 kB / 0.9301 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.283e-05/0.1341, allocations: 70.09 kB / 0.9302 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.769e-05/0.1342, allocations: 101.9 kB / 0.9303 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1342, allocations: 0 / 0.9303 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001022/0.1343, allocations: 109.5 kB / 0.9304 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1343, allocations: 4 kB / 0.9304 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1343, allocations: 4 kB / 0.9304 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1343, allocations: 0 / 0.9304 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.1344, allocations: 31.92 kB / 0.9304 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1344, allocations: 3.984 kB / 0.9304 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.1344, allocations: 15.89 kB / 0.9304 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1344, allocations: 4 kB / 0.9304 GB, free: 9.16 MB / 0.8855 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.127e-05/0.1345, allocations: 168.6 kB / 0.9306 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.1345, allocations: 12 kB / 0.9306 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.1346, allocations: 102.4 kB / 0.9307 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1346, allocations: 0 / 0.9307 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.1346, allocations: 0 / 0.9307 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1346, allocations: 0 / 0.9307 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.83e-05/0.1347, allocations: 121.2 kB / 0.9308 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1347, allocations: 0 / 0.9308 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.1348, allocations: 19.98 kB / 0.9308 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1348, allocations: 0 / 0.9308 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-06/0.1348, allocations: 4 kB / 0.9308 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1348, allocations: 4.234 kB / 0.9308 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1348, allocations: 0 / 0.9308 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.1349, allocations: 231.7 kB / 0.9311 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.1349, allocations: 23.88 kB / 0.9311 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-06/0.1349, allocations: 0 / 0.9311 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.805e-05/0.135, allocations: 0 / 0.9311 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.135, allocations: 11.98 kB / 0.9311 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.135, allocations: 4 kB / 0.9311 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.135, allocations: 127.2 kB / 0.9312 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.1e-08/0.135, allocations: 0 / 0.9312 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002274/0.1352, allocations: 79.75 kB / 0.9313 GB, free: 8.203 MB / 0.8855 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.000231/0.1355, allocations: 198.8 kB / 0.9315 GB, free: 8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.715e-05/0.1355, allocations: 55.53 kB / 0.9315 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1355, allocations: 320 / 0.9315 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-05/0.1356, allocations: 48.03 kB / 0.9316 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.1357, allocations: 21.89 kB / 0.9316 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.1361, allocations: 164.8 kB / 0.9318 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.23e-05/0.1361, allocations: 59.36 kB / 0.9318 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.116e-05/0.1362, allocations: 20.5 kB / 0.9318 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.1362, allocations: 90.19 kB / 0.9319 GB, free: 7.496 MB / 0.8855 GB Notification: Performance of SimCode: time 4.81e-07/0.1362, allocations: 0 / 0.9319 GB, free: 7.496 MB / 0.8855 GB Notification: Performance of Templates: time 0.003582/0.1398, allocations: 2.343 MB / 0.9342 GB, free: 5.211 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.85782428085804]