Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001037, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001261, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.672/2.672, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005455/0.0005456, allocations: 8 kB / 0.8708 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8092, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0007259/0.81, allocations: 276.6 kB / 1.021 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008696/0.8109, allocations: 0.7729 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.415e-05/0.8109, allocations: 0 / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.8109, allocations: 0 / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.059e-06/0.8109, allocations: 0 / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.8111, allocations: 11.92 kB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.246e-05/0.8112, allocations: 7.984 kB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.8113, allocations: 0 / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.508e-05/0.8113, allocations: 0 / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.8114, allocations: 20 kB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.536e-06/0.8114, allocations: 0 / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-06/0.8114, allocations: 0 / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.8115, allocations: 0 / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.8115, allocations: 25.7 kB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 2.828e-05/0.8115, allocations: 0 / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.8115, allocations: 0 / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8116, allocations: 0 / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.8116, allocations: 4 kB / 1.022 GB, free: 15.97 MB / 0.7794 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.0002658/0.8118, allocations: 315.4 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.8119, allocations: 8.031 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.8119, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.812, allocations: 159.1 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.8121, allocations: 0 / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.8121, allocations: 3.938 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.8122, allocations: 37.59 kB / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.8122, allocations: 3.938 kB / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.8122, allocations: 4 kB / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8122, allocations: 0 / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.64e-05/0.8122, allocations: 0 / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.8126, allocations: 383.5 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.019e-05/0.8127, allocations: 165.1 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.8127, allocations: 83.22 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.8128, allocations: 109.9 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.8128, allocations: 0 / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.779e-05/0.8129, allocations: 33.69 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.813, allocations: 126.7 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.813, allocations: 93.77 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.8131, allocations: 29.83 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.8131, allocations: 84.14 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.8131, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.8131, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8133, allocations: 310.8 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-06/0.8133, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-06/0.8133, allocations: 3.938 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.635e-05/0.8133, allocations: 4 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8133, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001066/0.8134, allocations: 45.7 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.8134, allocations: 4 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8135, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.8135, allocations: 4 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.8135, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8135, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.05e-05/0.8136, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.8136, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 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 9.791e-05/0.8137, allocations: 189.2 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.8137, allocations: 108.9 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.8138, allocations: 108.1 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.26e-05/0.8139, allocations: 188.3 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-05/0.8139, allocations: 180.2 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.884e-05/0.814, allocations: 176.3 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.8142, allocations: 405.2 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.335e-05/0.8142, allocations: 108.9 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.8143, allocations: 108.9 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.451e-05/0.8144, allocations: 180.2 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.8144, allocations: 176.3 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.119e-05/0.8145, allocations: 196.1 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.448e-05/0.8146, allocations: 180.3 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.8147, allocations: 303.8 kB / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.8148, allocations: 182.1 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.8148, allocations: 184.2 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.8149, allocations: 109.3 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.815, allocations: 184.2 kB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.8151, allocations: 105 kB / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.127e-05/0.8151, allocations: 75.28 kB / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8151, allocations: 0 / 1.027 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002204/0.8153, allocations: 4 kB / 1.027 GB, free: 10.18 MB / 0.7794 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.0001439/0.8155, allocations: 182.6 kB / 1.027 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.506e-05/0.8155, allocations: 4.016 kB / 1.027 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-06/0.8155, allocations: 4 kB / 1.027 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.8155, allocations: 3.938 kB / 1.027 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.8158, allocations: 0.5185 MB / 1.028 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002074/0.816, allocations: 152.6 kB / 1.028 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.8163, allocations: 0.677 MB / 1.029 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.206e-05/0.8163, allocations: 0 / 1.029 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.426e-05/0.8163, allocations: 7.438 kB / 1.029 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8163, allocations: 0 / 1.029 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of Templates: time 0.001925/0.8183, allocations: 176 kB / 1.029 GB, free: 8.445 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches