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.001453/0.001453, allocations: 80.88 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.001816/0.001816, allocations: 181 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.95/0.95, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.357/2.357, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] 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.362e-06/1.362e-06, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06e-05/1.196e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001604/0.001616, allocations: 1.45 MB / 0.8401 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1219/0.1235, allocations: 143.1 MB / 0.9798 GB, free: 13.04 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.1236, allocations: 0 / 0.9798 GB, free: 13.04 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.264e-05/0.1236, allocations: 7.922 kB / 0.9798 GB, free: 13.03 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.1237, allocations: 39.88 kB / 0.9799 GB, free: 12.99 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.1246, allocations: 358.2 kB / 0.9802 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 8.815e-05/0.1246, allocations: 71.75 kB / 0.9803 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.1247, allocations: 0 / 0.9803 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.198e-05/0.1247, allocations: 39.95 kB / 0.9803 GB, free: 12.53 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.1248, allocations: 59.86 kB / 0.9804 GB, free: 12.47 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.1248, allocations: 0 / 0.9804 GB, free: 12.47 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004796/0.1253, allocations: 379 kB / 0.9807 GB, free: 12.1 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.1254, allocations: 31.91 kB / 0.9808 GB, free: 12.07 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.1254, allocations: 15.98 kB / 0.9808 GB, free: 12.05 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.1257, allocations: 295.2 kB / 0.9811 GB, free: 11.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1257, allocations: 0 / 0.9811 GB, free: 11.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.61e-07/0.1257, allocations: 0 / 0.9811 GB, free: 11.76 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1257, allocations: 0 / 0.9811 GB, free: 11.76 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.0002701/0.126, allocations: 300 kB / 0.9813 GB, free: 11.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.126, allocations: 8.625 kB / 0.9813 GB, free: 11.44 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.126, allocations: 12.92 kB / 0.9814 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.944e-05/0.1261, allocations: 121.4 kB / 0.9815 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.1261, allocations: 0 / 0.9815 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.1261, allocations: 8 kB / 0.9815 GB, free: 11.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.917e-05/0.1262, allocations: 60.48 kB / 0.9815 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1262, allocations: 3.938 kB / 0.9815 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.1262, allocations: 4 kB / 0.9815 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.1262, allocations: 12 kB / 0.9816 GB, free: 11.19 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.285e-05/0.1263, allocations: 15.98 kB / 0.9816 GB, free: 11.17 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.1265, allocations: 217.7 kB / 0.9818 GB, free: 10.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.332e-05/0.1266, allocations: 58.53 kB / 0.9818 GB, free: 10.88 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.1266, allocations: 24.86 kB / 0.9819 GB, free: 10.85 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/0.1269, allocations: 75.91 kB / 0.9819 GB, free: 10.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.1269, allocations: 30.56 kB / 0.982 GB, free: 10.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1269, allocations: 4 kB / 0.982 GB, free: 10.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0001117/0.127, allocations: 73.55 kB / 0.982 GB, free: 10.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.127, allocations: 55.41 kB / 0.9821 GB, free: 10.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.356e-05/0.1271, allocations: 114.7 kB / 0.9822 GB, free: 10.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002456/0.1273, allocations: 25.7 kB / 0.9822 GB, free: 10.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.1274, allocations: 100.3 kB / 0.9823 GB, free: 10.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1274, allocations: 43.64 kB / 0.9824 GB, free: 10.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.1274, allocations: 29.69 kB / 0.9824 GB, free: 10.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.1275, allocations: 322.8 kB / 0.9827 GB, free: 9.926 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.1275, allocations: 11.98 kB / 0.9827 GB, free: 9.914 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.1275, allocations: 49.08 kB / 0.9828 GB, free: 9.848 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.076e-05/0.1276, allocations: 87.81 kB / 0.9828 GB, free: 9.742 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1276, allocations: 0 / 0.9828 GB, free: 9.742 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.118e-05/0.1277, allocations: 89.48 kB / 0.9829 GB, free: 9.648 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.1277, allocations: 5.875 kB / 0.9829 GB, free: 9.645 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1277, allocations: 11.97 kB / 0.9829 GB, free: 9.633 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.1277, allocations: 0 / 0.9829 GB, free: 9.633 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.1278, allocations: 28.14 kB / 0.983 GB, free: 9.605 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1278, allocations: 15.92 kB / 0.983 GB, free: 9.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.1278, allocations: 7.891 kB / 0.983 GB, free: 9.582 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1278, allocations: 8 kB / 0.983 GB, free: 9.574 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.144e-05/0.1278, allocations: 116.7 kB / 0.9831 GB, free: 9.449 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.1279, allocations: 4 kB / 0.9831 GB, free: 9.445 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.604e-05/0.128, allocations: 86.45 kB / 0.9832 GB, free: 9.355 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.128, allocations: 0 / 0.9832 GB, free: 9.355 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.128, allocations: 12.23 kB / 0.9832 GB, free: 9.344 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.128, allocations: 0 / 0.9832 GB, free: 9.344 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.661e-05/0.1281, allocations: 89.78 kB / 0.9833 GB, free: 9.238 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1281, allocations: 0 / 0.9833 GB, free: 9.238 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.1281, allocations: 19.98 kB / 0.9833 GB, free: 9.219 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1281, allocations: 0 / 0.9833 GB, free: 9.219 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.1281, allocations: 0 / 0.9833 GB, free: 9.219 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.1281, allocations: 0 / 0.9833 GB, free: 9.219 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.1281, allocations: 0 / 0.9833 GB, free: 9.219 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.416e-05/0.1282, allocations: 171.3 kB / 0.9835 GB, free: 9.035 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.1282, allocations: 11.92 kB / 0.9835 GB, free: 9.023 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.1282, allocations: 8 kB / 0.9835 GB, free: 9.016 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.784e-05/0.1282, allocations: 4 kB / 0.9835 GB, free: 9.012 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.1282, allocations: 3.984 kB / 0.9835 GB, free: 9.008 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.1282, allocations: 8 kB / 0.9835 GB, free: 9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.104e-05/0.1283, allocations: 12.84 kB / 0.9835 GB, free: 8.984 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1283, allocations: 0 / 0.9835 GB, free: 8.984 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001941/0.1284, allocations: 71.75 kB / 0.9836 GB, free: 8.914 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.0002163/0.1287, allocations: 176.1 kB / 0.9838 GB, free: 8.734 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.1287, allocations: 59.52 kB / 0.9838 GB, free: 8.676 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1287, allocations: 3.938 kB / 0.9838 GB, free: 8.672 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.1288, allocations: 29.22 kB / 0.9838 GB, free: 8.641 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1289, allocations: 15.94 kB / 0.9839 GB, free: 8.625 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.1292, allocations: 179 kB / 0.984 GB, free: 8.418 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.299e-05/0.1293, allocations: 63.34 kB / 0.9841 GB, free: 8.336 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.879e-05/0.1293, allocations: 12.66 kB / 0.9841 GB, free: 8.324 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.1294, allocations: 71.36 kB / 0.9842 GB, free: 8.254 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.1294, allocations: 0 / 0.9842 GB, free: 8.254 MB / 0.948 GB Notification: Performance of Templates: time 0.003454/0.1328, allocations: 2.341 MB / 0.9865 GB, free: 5.977 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 -s gbode -gbm=radauIIA3 -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.343707035295665]