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.001454/0.001454, allocations: 92.22 kB / 19.65 MB, free: 276 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.001133/0.001133, allocations: 169 kB / 23.02 MB, free: 1.551 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.9783/0.9783, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.081/2.081, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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 2.064e-06/2.064e-06, allocations: 0 / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.826e-05/4.033e-05, allocations: 5.516 kB / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002956/0.002996, allocations: 1.403 MB / 0.8796 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1434/0.1464, allocations: 143.7 MB / 1.02 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.1465, allocations: 0 / 1.02 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 5.005e-05/0.1465, allocations: 4 kB / 1.02 GB, free: 4.664 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1467, allocations: 47.8 kB / 1.02 GB, free: 4.617 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.1477, allocations: 370.3 kB / 1.02 GB, free: 4.254 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 9.53e-05/0.1478, allocations: 71.73 kB / 1.02 GB, free: 4.184 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.1478, allocations: 4 kB / 1.02 GB, free: 4.18 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.1479, allocations: 39.89 kB / 1.02 GB, free: 4.141 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.148, allocations: 51.94 kB / 1.02 GB, free: 4.09 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.148, allocations: 0 / 1.02 GB, free: 4.09 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004739/0.1484, allocations: 378.9 kB / 1.021 GB, free: 3.719 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.1485, allocations: 27.97 kB / 1.021 GB, free: 3.691 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.1485, allocations: 19.92 kB / 1.021 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.1489, allocations: 295.2 kB / 1.021 GB, free: 3.383 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1489, allocations: 0 / 1.021 GB, free: 3.383 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1489, allocations: 0 / 1.021 GB, free: 3.383 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1489, allocations: 0 / 1.021 GB, free: 3.383 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.0003504/0.1492, allocations: 435.9 kB / 1.022 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1493, allocations: 8.031 kB / 1.022 GB, free: 2.914 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.1493, allocations: 12.88 kB / 1.022 GB, free: 2.902 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.986e-05/0.1494, allocations: 120.3 kB / 1.022 GB, free: 2.758 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1494, allocations: 0 / 1.022 GB, free: 2.758 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.1494, allocations: 4 kB / 1.022 GB, free: 2.754 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.1495, allocations: 65.61 kB / 1.022 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1495, allocations: 0 / 1.022 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1496, allocations: 0 / 1.022 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.1496, allocations: 11.98 kB / 1.022 GB, free: 2.672 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.97e-05/0.1497, allocations: 27.98 kB / 1.022 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.15, allocations: 319.6 kB / 1.022 GB, free: 2.297 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.1501, allocations: 74.97 kB / 1.022 GB, free: 2.211 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.1502, allocations: 39.73 kB / 1.022 GB, free: 2.168 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003504/0.1505, allocations: 83.91 kB / 1.022 GB, free: 2.086 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1505, allocations: 33.39 kB / 1.022 GB, free: 2.043 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.1505, allocations: 0 / 1.022 GB, free: 2.043 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.0001908/0.1507, allocations: 101.6 kB / 1.022 GB, free: 1.938 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1508, allocations: 55.34 kB / 1.022 GB, free: 1.871 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.1508, allocations: 174.1 kB / 1.023 GB, free: 1.684 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1509, allocations: 25.7 kB / 1.023 GB, free: 1.652 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.1509, allocations: 155 kB / 1.023 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.1509, allocations: 35.69 kB / 1.023 GB, free: 1.461 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.151, allocations: 39.38 kB / 1.023 GB, free: 1.414 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003928/0.1514, allocations: 0.4884 MB / 1.023 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.1514, allocations: 15.98 kB / 1.023 GB, free: 0.8984 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-05/0.1514, allocations: 81.41 kB / 1.023 GB, free: 0.7969 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/0.1515, allocations: 110.4 kB / 1.024 GB, free: 0.6641 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1515, allocations: 0 / 1.024 GB, free: 0.6641 MB / 0.9792 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001232/0.1517, allocations: 117.4 kB / 1.024 GB, free: 0.543 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1517, allocations: 4 kB / 1.024 GB, free: 0.5391 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1517, allocations: 4 kB / 1.024 GB, free: 0.5352 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1517, allocations: 0 / 1.024 GB, free: 0.5352 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.1518, allocations: 27.98 kB / 1.024 GB, free: 0.5078 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1518, allocations: 3.938 kB / 1.024 GB, free: 0.5039 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.1518, allocations: 16.05 kB / 1.024 GB, free: 500 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1518, allocations: 12 kB / 1.024 GB, free: 488 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 6.754e-05/0.1519, allocations: 160.5 kB / 1.024 GB, free: 316 kB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.1519, allocations: 11.95 kB / 1.024 GB, free: 304 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.152, allocations: 106 kB / 1.024 GB, free: 192 kB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.152, allocations: 0 / 1.024 GB, free: 192 kB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.152, allocations: 7.875 kB / 1.024 GB, free: 184 kB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.152, allocations: 0 / 1.024 GB, free: 184 kB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.1521, allocations: 132.6 kB / 1.024 GB, free: 16 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1521, allocations: 4 kB / 1.024 GB, free: 12 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.1522, allocations: 16.05 kB / 1.024 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1522, allocations: 7.922 kB / 1.024 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1522, allocations: 0 / 1.024 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1522, allocations: 4 kB / 1.024 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1522, allocations: 0 / 1.024 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.1523, allocations: 231.8 kB / 1.024 GB, free: 15.74 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.1523, allocations: 23.81 kB / 1.024 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1524, allocations: 4 kB / 1.024 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.889e-05/0.1524, allocations: 4 kB / 1.024 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.1524, allocations: 11.98 kB / 1.024 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1524, allocations: 3.938 kB / 1.024 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.1524, allocations: 135.2 kB / 1.025 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1524, allocations: 0 / 1.025 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002207/0.1527, allocations: 79.73 kB / 1.025 GB, free: 15.48 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.0002707/0.1529, allocations: 186.9 kB / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.1531, allocations: 71.53 kB / 1.025 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1531, allocations: 0 / 1.025 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/0.1531, allocations: 39.61 kB / 1.025 GB, free: 15.17 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.1533, allocations: 15.98 kB / 1.025 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.1538, allocations: 169.6 kB / 1.025 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.1538, allocations: 67.53 kB / 1.025 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.824e-05/0.1539, allocations: 49.03 kB / 1.025 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.1539, allocations: 12.5 kB / 1.025 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of SimCode: time 6.11e-07/0.1539, allocations: 4 kB / 1.025 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of Templates: time 0.003786/0.1577, allocations: 1.955 MB / 1.027 GB, free: 12.91 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.677183351013809]