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.001251/0.001251, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00139/0.00139, allocations: 173 kB / 23.36 MB, free: 1.133 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.8756/0.8756, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.207/2.207, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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.743e-06/1.743e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.739e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002462/0.002479, allocations: 1.397 MB / 0.84 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.1373, allocations: 143.1 MB / 0.9797 GB, free: 13.19 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.1374, allocations: 0 / 0.9797 GB, free: 13.19 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.1374, allocations: 3.938 kB / 0.9797 GB, free: 13.18 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.1375, allocations: 43.86 kB / 0.9798 GB, free: 13.14 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008338/0.1384, allocations: 370.2 kB / 0.9801 GB, free: 12.78 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 9.273e-05/0.1385, allocations: 71.75 kB / 0.9802 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.232e-05/0.1385, allocations: 3.984 kB / 0.9802 GB, free: 12.7 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.042e-05/0.1386, allocations: 35.97 kB / 0.9802 GB, free: 12.67 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.1386, allocations: 55.88 kB / 0.9803 GB, free: 12.61 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.1386, allocations: 0 / 0.9803 GB, free: 12.61 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.1391, allocations: 367 kB / 0.9806 GB, free: 12.25 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.1392, allocations: 31.89 kB / 0.9807 GB, free: 12.22 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.1392, allocations: 20 kB / 0.9807 GB, free: 12.2 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.1395, allocations: 295.2 kB / 0.981 GB, free: 11.91 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1395, allocations: 0 / 0.981 GB, free: 11.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1395, allocations: 0 / 0.981 GB, free: 11.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.1395, allocations: 0 / 0.981 GB, free: 11.91 MB / 0.948 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.00027/0.1398, allocations: 303.9 kB / 0.9812 GB, free: 11.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.1398, allocations: 16.62 kB / 0.9813 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/0.1398, allocations: 0.9375 kB / 0.9813 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.996e-05/0.1399, allocations: 121.4 kB / 0.9814 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1399, allocations: 4 kB / 0.9814 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.1399, allocations: 0 / 0.9814 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.376e-05/0.14, allocations: 60.5 kB / 0.9814 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.14, allocations: 0 / 0.9814 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.14, allocations: 4 kB / 0.9814 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.14, allocations: 8 kB / 0.9815 GB, free: 11.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.375e-05/0.1401, allocations: 27.92 kB / 0.9815 GB, free: 11.32 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.1403, allocations: 221.6 kB / 0.9817 GB, free: 11.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.425e-05/0.1404, allocations: 58.53 kB / 0.9817 GB, free: 11.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.1404, allocations: 24.84 kB / 0.9818 GB, free: 11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002848/0.1407, allocations: 71.92 kB / 0.9818 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1407, allocations: 38.55 kB / 0.9819 GB, free: 10.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.1407, allocations: 0 / 0.9819 GB, free: 10.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0001088/0.1408, allocations: 73.55 kB / 0.9819 GB, free: 10.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.1408, allocations: 63.33 kB / 0.982 GB, free: 10.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.141e-05/0.1409, allocations: 110.7 kB / 0.9821 GB, free: 10.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.1409, allocations: 25.7 kB / 0.9821 GB, free: 10.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.1409, allocations: 104.3 kB / 0.9822 GB, free: 10.47 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.141, allocations: 35.66 kB / 0.9823 GB, free: 10.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.141, allocations: 33.69 kB / 0.9823 GB, free: 10.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.1411, allocations: 326.8 kB / 0.9826 GB, free: 10.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.1411, allocations: 8 kB / 0.9826 GB, free: 10.06 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.1411, allocations: 59.88 kB / 0.9827 GB, free: 9.984 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.786e-05/0.1412, allocations: 79.83 kB / 0.9828 GB, free: 9.887 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1412, allocations: 256 / 0.9828 GB, free: 9.887 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.096e-05/0.1412, allocations: 85.53 kB / 0.9828 GB, free: 9.797 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1413, allocations: 8 kB / 0.9828 GB, free: 9.789 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1413, allocations: 7.938 kB / 0.9829 GB, free: 9.781 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1413, allocations: 4 kB / 0.9829 GB, free: 9.777 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.1413, allocations: 32.14 kB / 0.9829 GB, free: 9.746 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1413, allocations: 7.938 kB / 0.9829 GB, free: 9.738 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.1414, allocations: 7.891 kB / 0.9829 GB, free: 9.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.1414, allocations: 4 kB / 0.9829 GB, free: 9.727 MB / 0.948 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 5.012e-05/0.1414, allocations: 116.7 kB / 0.983 GB, free: 9.602 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.1414, allocations: 11.98 kB / 0.983 GB, free: 9.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.1415, allocations: 86.45 kB / 0.9831 GB, free: 9.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1415, allocations: 4 kB / 0.9831 GB, free: 9.496 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.1415, allocations: 4 kB / 0.9831 GB, free: 9.492 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1415, allocations: 0 / 0.9831 GB, free: 9.492 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.656e-05/0.1416, allocations: 85.78 kB / 0.9832 GB, free: 9.391 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.1416, allocations: 0 / 0.9832 GB, free: 9.391 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.1417, allocations: 15.98 kB / 0.9832 GB, free: 9.375 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1417, allocations: 0 / 0.9832 GB, free: 9.375 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.1417, allocations: 4 kB / 0.9832 GB, free: 9.371 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1417, allocations: 0 / 0.9832 GB, free: 9.371 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1417, allocations: 3.984 kB / 0.9832 GB, free: 9.367 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.161e-05/0.1418, allocations: 175.3 kB / 0.9834 GB, free: 9.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.1418, allocations: 7.938 kB / 0.9834 GB, free: 9.172 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-06/0.1418, allocations: 4 kB / 0.9834 GB, free: 9.168 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.843e-05/0.1418, allocations: 4 kB / 0.9834 GB, free: 9.164 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.1418, allocations: 7.984 kB / 0.9834 GB, free: 9.156 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1418, allocations: 4 kB / 0.9834 GB, free: 9.152 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.035e-05/0.1418, allocations: 12.84 kB / 0.9834 GB, free: 9.137 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1418, allocations: 0 / 0.9834 GB, free: 9.137 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000195/0.142, allocations: 79.73 kB / 0.9835 GB, free: 9.059 MB / 0.948 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.0002252/0.1423, allocations: 172.1 kB / 0.9837 GB, free: 8.883 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.395e-05/0.1423, allocations: 52.7 kB / 0.9837 GB, free: 8.828 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1423, allocations: 3.938 kB / 0.9837 GB, free: 8.824 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.058e-05/0.1424, allocations: 32.83 kB / 0.9838 GB, free: 8.789 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1425, allocations: 20.73 kB / 0.9838 GB, free: 8.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.1428, allocations: 171 kB / 0.9839 GB, free: 8.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.323e-05/0.1429, allocations: 63.34 kB / 0.984 GB, free: 8.488 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.1429, allocations: 21.08 kB / 0.984 GB, free: 8.469 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.1429, allocations: 59.38 kB / 0.9841 GB, free: 8.41 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/0.1429, allocations: 4 kB / 0.9841 GB, free: 8.406 MB / 0.948 GB Notification: Performance of Templates: time 0.00354/0.1465, allocations: 2.342 MB / 0.9864 GB, free: 6.129 MB / 0.948 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: 4.969425132032484]