Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 182.5 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008299/0.00083, allocations: 92.94 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 13.28 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2029, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.3597, allocations: 131.7 MB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.36, allocations: 111.9 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001584/0.3616, allocations: 0.674 MB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3617, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3617, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002253/0.3619, allocations: 319.7 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3619, allocations: 12.03 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.362, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.299e-05/0.3621, allocations: 167 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3621, allocations: 0 / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.3621, allocations: 3.938 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.3622, allocations: 29.7 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.3622, allocations: 4 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.3622, allocations: 3.984 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3622, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.617e-05/0.3622, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.3625, allocations: 387.4 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.016e-05/0.3626, allocations: 173.1 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3626, allocations: 75.28 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3627, allocations: 105.8 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.234e-06/0.3627, allocations: 0 / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.317e-05/0.3627, allocations: 38.31 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.3628, allocations: 126.7 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.3629, allocations: 89 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.3629, allocations: 25.7 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.3629, allocations: 84.08 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.3629, allocations: 0 / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.3629, allocations: 0 / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.363, allocations: 326.7 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-06/0.3631, allocations: 0 / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-06/0.3631, allocations: 0 / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.557e-05/0.3631, allocations: 8.188 kB / 1.031 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3631, allocations: 0 / 1.031 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.035e-05/0.3632, allocations: 33.7 kB / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3632, allocations: 6.188 kB / 1.031 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3632, allocations: 0 / 1.031 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.3632, allocations: 0 / 1.031 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.701e-05/0.3633, allocations: 4 kB / 1.031 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3633, allocations: 0 / 1.031 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.198e-05/0.3633, allocations: 4 kB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.3633, allocations: 3.984 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.009e-05/0.3634, allocations: 193 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.3635, allocations: 105 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.3635, allocations: 105.8 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-05/0.3636, allocations: 184.2 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.038e-05/0.3636, allocations: 180.2 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.722e-05/0.3637, allocations: 188.2 kB / 1.032 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.3639, allocations: 397.2 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.634e-05/0.3639, allocations: 105 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.3639, allocations: 108.9 kB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.624e-05/0.364, allocations: 184.3 kB / 1.033 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/0.3641, allocations: 184.2 kB / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-05/0.3641, allocations: 180.2 kB / 1.033 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.252e-05/0.3642, allocations: 176.3 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.3643, allocations: 311.7 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.12e-05/0.3644, allocations: 186 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.3645, allocations: 180.3 kB / 1.034 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.3645, allocations: 101.8 kB / 1.034 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.3646, allocations: 188.2 kB / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.3646, allocations: 105 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.568e-05/0.3647, allocations: 75.28 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3647, allocations: 0 / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001972/0.3649, allocations: 4.094 kB / 1.035 GB, free: 5.453 MB / 0.6823 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001363/0.365, allocations: 178.5 kB / 1.035 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 4.884e-05/0.3651, allocations: 3.938 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3651, allocations: 0 / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.3651, allocations: 0 / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.3653, allocations: 0.5303 MB / 1.035 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001595/0.3655, allocations: 150 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.3657, allocations: 0.6731 MB / 1.036 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.298e-05/0.3658, allocations: 0 / 1.036 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.3658, allocations: 7.438 kB / 1.036 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.3658, allocations: 0 / 1.036 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of Templates: time 0.001611/0.3674, allocations: 176.3 kB / 1.036 GB, free: 3.719 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches