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.00157/0.00157, 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.001585/0.001585, allocations: 165 kB / 23.82 MB, free: 0.75 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 1.084/1.084, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.857/1.857, allocations: 359 MB / 0.6052 GB, free: 11 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.804e-06/1.804e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.643e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002279/0.002306, allocations: 1.389 MB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1406/0.1429, allocations: 143.7 MB / 0.9288 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.143, allocations: 0 / 0.9288 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 5.619e-05/0.143, allocations: 3.938 kB / 0.9288 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1432, allocations: 47.86 kB / 0.9289 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009822/0.1442, allocations: 370.1 kB / 0.9292 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1443, allocations: 67.81 kB / 0.9293 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.1443, allocations: 0 / 0.9293 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 5.788e-05/0.1444, allocations: 43.89 kB / 0.9293 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1445, allocations: 55.92 kB / 0.9294 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1445, allocations: 4 kB / 0.9294 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005599/0.1451, allocations: 370.9 kB / 0.9297 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.1451, allocations: 31.97 kB / 0.9298 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.1452, allocations: 23.92 kB / 0.9298 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.1456, allocations: 287.2 kB / 0.9301 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1456, allocations: 7.984 kB / 0.9301 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.425e-06/0.1456, allocations: 0 / 0.9301 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.1456, allocations: 0 / 0.9301 GB, free: 9.613 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.0003962/0.146, allocations: 435.9 kB / 0.9305 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.146, allocations: 8.031 kB / 0.9305 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.1461, allocations: 8.891 kB / 0.9305 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.462e-05/0.1461, allocations: 116.5 kB / 0.9306 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1462, allocations: 384 / 0.9306 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1462, allocations: 8.375 kB / 0.9306 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1463, allocations: 61.59 kB / 0.9307 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1463, allocations: 4 kB / 0.9307 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1463, allocations: 0 / 0.9307 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.1463, allocations: 15.98 kB / 0.9307 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.267e-05/0.1464, allocations: 35.97 kB / 0.9307 GB, free: 8.867 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.1468, allocations: 315.5 kB / 0.931 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.1469, allocations: 71.03 kB / 0.9311 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.147, allocations: 39.72 kB / 0.9311 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003767/0.1473, allocations: 87.83 kB / 0.9312 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1474, allocations: 33.39 kB / 0.9313 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.1474, allocations: 0 / 0.9313 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0002059/0.1476, allocations: 97.98 kB / 0.9313 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.1476, allocations: 55.41 kB / 0.9314 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.1477, allocations: 169.9 kB / 0.9316 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1477, allocations: 29.7 kB / 0.9316 GB, free: 7.883 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.1477, allocations: 143.1 kB / 0.9317 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.1478, allocations: 43.64 kB / 0.9318 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.1478, allocations: 43.36 kB / 0.9318 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1479, allocations: 0.4922 MB / 0.9323 GB, free: 7.141 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/0.148, allocations: 15.98 kB / 0.9323 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.148, allocations: 74.11 kB / 0.9324 GB, free: 7.027 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.471e-05/0.1481, allocations: 110 kB / 0.9325 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1481, allocations: 0 / 0.9325 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001363/0.1482, allocations: 113.5 kB / 0.9326 GB, free: 6.777 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1483, allocations: 4 kB / 0.9326 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1483, allocations: 0 / 0.9326 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.1483, allocations: 12.09 kB / 0.9326 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.1484, allocations: 27.92 kB / 0.9326 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1484, allocations: 4 kB / 0.9326 GB, free: 6.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.1484, allocations: 15.89 kB / 0.9326 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.1484, allocations: 4 kB / 0.9327 GB, free: 6.711 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 0.0002484/0.1487, allocations: 164.5 kB / 0.9328 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.1487, allocations: 4 kB / 0.9328 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.1488, allocations: 110 kB / 0.9329 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1489, allocations: 8 kB / 0.9329 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1489, allocations: 0 / 0.9329 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1489, allocations: 0 / 0.9329 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.149, allocations: 136.5 kB / 0.9331 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.149, allocations: 0 / 0.9331 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.149, allocations: 16.23 kB / 0.9331 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.149, allocations: 4 kB / 0.9331 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.149, allocations: 4 kB / 0.9331 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.149, allocations: 0 / 0.9331 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.149, allocations: 3.938 kB / 0.9331 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.1491, allocations: 235.8 kB / 0.9333 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.1492, allocations: 23.89 kB / 0.9333 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1492, allocations: 3.984 kB / 0.9333 GB, free: 5.938 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.027e-05/0.1492, allocations: 4 kB / 0.9333 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.1492, allocations: 7.984 kB / 0.9333 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1492, allocations: 4 kB / 0.9333 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.1493, allocations: 127.2 kB / 0.9335 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1493, allocations: 0 / 0.9335 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002339/0.1495, allocations: 75.73 kB / 0.9335 GB, free: 5.723 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.0002723/0.1498, allocations: 194.9 kB / 0.9337 GB, free: 5.523 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.1499, allocations: 71.52 kB / 0.9338 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1499, allocations: 0 / 0.9338 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.892e-05/0.1499, allocations: 35.67 kB / 0.9338 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.1501, allocations: 20.19 kB / 0.9338 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.1506, allocations: 166.9 kB / 0.934 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.1506, allocations: 63.34 kB / 0.9341 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.638e-05/0.1507, allocations: 52.89 kB / 0.9341 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.1507, allocations: 12.5 kB / 0.9341 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/0.1507, allocations: 3.938 kB / 0.9341 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of Templates: time 0.003719/0.1545, allocations: 1.959 MB / 0.936 GB, free: 3.152 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.462312270887196]