Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001256/0.001256, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00111/0.00111, allocations: 196.8 kB / 16.14 MB, free: 6.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6728/0.6741, allocations: 140.4 MB / 0.949 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001843/0.6759, allocations: 0.6067 MB / 0.9496 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.6772, allocations: 0.7808 MB / 0.9503 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.176e-05/0.6773, allocations: 0 / 0.9503 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.6773, allocations: 4 kB / 0.9503 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.6773, allocations: 1.375 kB / 0.9503 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.6776, allocations: 12.11 kB / 0.9503 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.309e-05/0.6777, allocations: 1.375 kB / 0.9503 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.6777, allocations: 1.375 kB / 0.9503 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.211e-05/0.6777, allocations: 1.375 kB / 0.9503 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.6779, allocations: 18.97 kB / 0.9504 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.678, allocations: 4 kB / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-06/0.678, allocations: 5.312 kB / 0.9504 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.678, allocations: 4 kB / 0.9504 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.678, allocations: 0 / 0.9504 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.558e-05/0.6781, allocations: 1.375 kB / 0.9504 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.6781, allocations: 3.938 kB / 0.9504 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6781, allocations: 0 / 0.9504 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.6781, allocations: 0 / 0.9504 GB, free: 8.098 MB / 0.7169 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.0002754/0.6784, allocations: 310.3 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.6784, allocations: 13.62 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.6785, allocations: 0.9375 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.141e-05/0.6786, allocations: 165.7 kB / 0.9508 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.6786, allocations: 384 / 0.9508 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.6786, allocations: 1.75 kB / 0.9508 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.463e-05/0.6787, allocations: 27.64 kB / 0.9509 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.6787, allocations: 192 / 0.9509 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.6787, allocations: 3.938 kB / 0.9509 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.6787, allocations: 1.375 kB / 0.9509 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.6788, allocations: 3.984 kB / 0.9509 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.6791, allocations: 382.2 kB / 0.9512 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.335e-05/0.6791, allocations: 174.5 kB / 0.9514 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.6791, allocations: 80.14 kB / 0.9515 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.6792, allocations: 76.66 kB / 0.9516 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.6792, allocations: 113.8 kB / 0.9517 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.6792, allocations: 0 / 0.9517 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.666e-05/0.6793, allocations: 35 kB / 0.9517 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.6793, allocations: 128.1 kB / 0.9518 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.604e-05/0.6794, allocations: 95.14 kB / 0.9519 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-06/0.6794, allocations: 29.7 kB / 0.9519 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.6794, allocations: 84.27 kB / 0.952 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.6794, allocations: 1.375 kB / 0.952 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.6794, allocations: 11.09 kB / 0.952 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.6795, allocations: 312.2 kB / 0.9523 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-06/0.6795, allocations: 0 / 0.9523 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.6795, allocations: 5.359 kB / 0.9523 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.897e-05/0.6795, allocations: 6.266 kB / 0.9523 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6795, allocations: 1.375 kB / 0.9523 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.676e-05/0.6796, allocations: 45.77 kB / 0.9524 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.6796, allocations: 5.5 kB / 0.9524 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.6797, allocations: 0 / 0.9524 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.6797, allocations: 1.375 kB / 0.9524 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.122e-05/0.6797, allocations: 1.375 kB / 0.9524 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6797, allocations: 0 / 0.9524 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.6798, allocations: 7.938 kB / 0.9524 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.6798, allocations: 1.375 kB / 0.9524 GB, free: 5.832 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.6798, allocations: 190.5 kB / 0.9526 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.6799, allocations: 110.3 kB / 0.9527 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.6799, allocations: 111.8 kB / 0.9528 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/0.6799, allocations: 177.6 kB / 0.953 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.021e-05/0.68, allocations: 185.6 kB / 0.9531 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/0.68, allocations: 179.1 kB / 0.9533 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.6802, allocations: 410.5 kB / 0.9537 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.6802, allocations: 101 kB / 0.9538 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.6802, allocations: 102.4 kB / 0.9539 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.157e-05/0.6802, allocations: 189.6 kB / 0.9541 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.6803, allocations: 181.6 kB / 0.9543 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.899e-05/0.6803, allocations: 180.2 kB / 0.9544 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.923e-05/0.6803, allocations: 181.6 kB / 0.9546 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.375e-05/0.6804, allocations: 310.4 kB / 0.9549 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.6805, allocations: 179.5 kB / 0.9551 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.6805, allocations: 185.9 kB / 0.9552 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.765e-05/0.6806, allocations: 106.4 kB / 0.9554 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.6806, allocations: 177.7 kB / 0.9555 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.6807, allocations: 116.9 kB / 0.9556 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.664e-05/0.6807, allocations: 76.66 kB / 0.9557 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6807, allocations: 0 / 0.9557 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002443/0.6809, allocations: 1.375 kB / 0.9557 GB, free: 2.254 MB / 0.7169 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 (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.0001135/0.6811, allocations: 180.6 kB / 0.9559 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.553e-05/0.6811, allocations: 2.75 kB / 0.9559 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6811, allocations: 0 / 0.9559 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.6811, allocations: 0 / 0.9559 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.6814, allocations: 0.5237 MB / 0.9564 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001404/0.6816, allocations: 162.2 kB / 0.9565 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.6817, allocations: 0.6706 MB / 0.9572 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.33e-05/0.6817, allocations: 3.984 kB / 0.9572 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.6817, allocations: 8.812 kB / 0.9572 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of SimCode: time 7.11e-07/0.6817, allocations: 0 / 0.9572 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of Templates: time 0.001834/0.6836, allocations: 174.8 kB / 0.9574 GB, free: 0.6094 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches