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.001433/0.001433, 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.0015/0.0015, 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 0.9759/0.9759, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.795/1.795, allocations: 359 MB / 0.6055 GB, free: 10.97 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.472e-06/1.472e-06, allocations: 0 / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.216e-05, allocations: 8.641 kB / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001593/0.001615, allocations: 1.382 MB / 0.7885 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1271/0.1287, allocations: 143.4 MB / 0.9285 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.1288, allocations: 0 / 0.9285 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.1288, allocations: 0 / 0.9285 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1289, allocations: 47.86 kB / 0.9286 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009055/0.1298, allocations: 362.2 kB / 0.9289 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.1299, allocations: 67.77 kB / 0.929 GB, free: 11 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.13, allocations: 3.984 kB / 0.929 GB, free: 11 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.13, allocations: 43.95 kB / 0.929 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.1301, allocations: 51.88 kB / 0.9291 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1301, allocations: 4 kB / 0.9291 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.1305, allocations: 371 kB / 0.9294 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.1306, allocations: 35.91 kB / 0.9295 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.1306, allocations: 20 kB / 0.9295 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.131, allocations: 291.2 kB / 0.9298 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.131, allocations: 3.938 kB / 0.9298 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.232e-06/0.131, allocations: 4 kB / 0.9298 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.131, allocations: 0 / 0.9298 GB, free: 10.19 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.0003548/0.1313, allocations: 435.9 kB / 0.9302 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1314, allocations: 8.031 kB / 0.9302 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.1314, allocations: 8.891 kB / 0.9302 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.158e-05/0.1315, allocations: 116.6 kB / 0.9303 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1315, allocations: 384 / 0.9303 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1315, allocations: 8.359 kB / 0.9303 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.1316, allocations: 57.61 kB / 0.9304 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1316, allocations: 3.938 kB / 0.9304 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1317, allocations: 7.984 kB / 0.9304 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.1317, allocations: 15.92 kB / 0.9304 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.873e-05/0.1318, allocations: 31.22 kB / 0.9305 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.1321, allocations: 319.6 kB / 0.9308 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.727e-05/0.1322, allocations: 79.06 kB / 0.9308 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.1322, allocations: 31.73 kB / 0.9309 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/0.1326, allocations: 75.91 kB / 0.9309 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1326, allocations: 41.39 kB / 0.931 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.1326, allocations: 0 / 0.931 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.000179/0.1328, allocations: 93.56 kB / 0.9311 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.1328, allocations: 55.41 kB / 0.9311 GB, free: 8.688 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.1329, allocations: 169.9 kB / 0.9313 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.1329, allocations: 37.64 kB / 0.9313 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.1329, allocations: 139.1 kB / 0.9314 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.133, allocations: 51.62 kB / 0.9315 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.133, allocations: 35.38 kB / 0.9315 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1331, allocations: 0.4922 MB / 0.932 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1332, allocations: 15.98 kB / 0.932 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/0.1332, allocations: 74.11 kB / 0.9321 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.1333, allocations: 102.1 kB / 0.9322 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1333, allocations: 0 / 0.9322 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001206/0.1334, allocations: 113.9 kB / 0.9323 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1335, allocations: 9.859 kB / 0.9323 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1335, allocations: 0 / 0.9323 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1335, allocations: 8.156 kB / 0.9323 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.1336, allocations: 31.92 kB / 0.9323 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1336, allocations: 4 kB / 0.9324 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.1336, allocations: 11.89 kB / 0.9324 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.1336, allocations: 4 kB / 0.9324 GB, free: 7.301 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.57e-05/0.1337, allocations: 168.5 kB / 0.9325 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.1337, allocations: 8 kB / 0.9325 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.1338, allocations: 106.2 kB / 0.9326 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1338, allocations: 8 kB / 0.9326 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1338, allocations: 4 kB / 0.9326 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1338, allocations: 0 / 0.9326 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.1339, allocations: 132.6 kB / 0.9328 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1339, allocations: 0 / 0.9328 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.134, allocations: 15.94 kB / 0.9328 GB, free: 6.812 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.134, allocations: 4 kB / 0.9328 GB, free: 6.809 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.134, allocations: 7.984 kB / 0.9328 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.134, allocations: 0 / 0.9328 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.134, allocations: 0 / 0.9328 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.1341, allocations: 227.8 kB / 0.933 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.1341, allocations: 23.88 kB / 0.933 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.1341, allocations: 7.938 kB / 0.933 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.762e-05/0.1342, allocations: 0 / 0.933 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.1342, allocations: 7.984 kB / 0.9331 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1342, allocations: 4 kB / 0.9331 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.1342, allocations: 131.2 kB / 0.9332 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1342, allocations: 3.938 kB / 0.9332 GB, free: 6.383 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002227/0.1344, allocations: 79.73 kB / 0.9333 GB, free: 6.305 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.0002564/0.1347, allocations: 190.9 kB / 0.9334 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.1348, allocations: 67.75 kB / 0.9335 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1348, allocations: 3.938 kB / 0.9335 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.847e-05/0.1348, allocations: 39.61 kB / 0.9336 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.135, allocations: 20.17 kB / 0.9336 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.1355, allocations: 167 kB / 0.9337 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.548e-05/0.1355, allocations: 63.34 kB / 0.9338 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.655e-05/0.1356, allocations: 56.66 kB / 0.9338 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.1356, allocations: 12.5 kB / 0.9339 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of SimCode: time 7.41e-07/0.1356, allocations: 0 / 0.9339 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of Templates: time 0.003598/0.1392, allocations: 1.958 MB / 0.9358 GB, free: 3.738 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: 5.388079913100228]