Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005302/0.005302, allocations: 170 kB / 16.26 MB, free: 6.613 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 437.8 MB / 0.7121 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003475, allocations: 8 kB / 0.873 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6544/0.6548, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0007473/0.6556, allocations: 284.8 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.6567, allocations: 0.7844 MB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.172e-05/0.6567, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.6567, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.139e-06/0.6567, allocations: 4 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.657, allocations: 16 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.659e-05/0.6571, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.6571, allocations: 3.984 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.6571, allocations: 4 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.6573, allocations: 15.97 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.637e-06/0.6573, allocations: 4 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-06/0.6573, allocations: 4 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.6573, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.6574, allocations: 25.7 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 3.396e-05/0.6574, allocations: 0 / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6574, allocations: 0 / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6574, allocations: 0 / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.6574, allocations: 0 / 1.024 GB, free: 14.72 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.0003298/0.6578, allocations: 315.6 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.6578, allocations: 8.031 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.6579, allocations: 34.69 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.6579, allocations: 4.938 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.658, allocations: 164.4 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.6581, allocations: 384 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.6581, allocations: 4.375 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.6582, allocations: 26.27 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.6582, allocations: 3.938 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.6582, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.6582, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/0.6583, allocations: 4 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.6586, allocations: 387.4 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.91e-05/0.6588, allocations: 169.1 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.6588, allocations: 80.17 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.6588, allocations: 79.28 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.6589, allocations: 113.8 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.6589, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.49e-05/0.659, allocations: 33.58 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.6591, allocations: 126.7 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.6592, allocations: 93.86 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.6592, allocations: 25.7 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.6592, allocations: 80.14 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.6593, allocations: 4.125 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.6593, allocations: 13.7 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.6594, allocations: 314.8 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.6594, allocations: 4 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-06/0.6594, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.259e-05/0.6594, allocations: 4.859 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6594, allocations: 3.938 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.818e-05/0.6596, allocations: 37.73 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.6596, allocations: 8 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.6596, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.6596, allocations: 3.984 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.6597, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6597, allocations: 7.984 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.6597, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.6597, allocations: 0 / 1.026 GB, free: 12.37 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.539e-05/0.6598, allocations: 193.5 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.6599, allocations: 113 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.6599, allocations: 112.1 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.692e-05/0.66, allocations: 176.3 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.527e-05/0.66, allocations: 184.2 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.113e-05/0.6601, allocations: 176.3 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.6603, allocations: 413.1 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.128e-05/0.6603, allocations: 105 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.6604, allocations: 101 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-05/0.6604, allocations: 184.2 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.6605, allocations: 176.3 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.157e-05/0.6605, allocations: 184.2 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.416e-05/0.6606, allocations: 184.3 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.6607, allocations: 307.7 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.6608, allocations: 178.1 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.6608, allocations: 188.5 kB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.6609, allocations: 109 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.661, allocations: 184.3 kB / 1.029 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.661, allocations: 108.9 kB / 1.03 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.891e-05/0.6611, allocations: 75.28 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6611, allocations: 0 / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002134/0.6613, allocations: 0 / 1.03 GB, free: 8.766 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 (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.0003492/0.6616, allocations: 0.8166 MB / 1.03 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.353e-05/0.6617, allocations: 7.938 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.6617, allocations: 0 / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.6617, allocations: 0 / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.6621, allocations: 0.5299 MB / 1.031 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.6624, allocations: 184.2 kB / 1.031 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.6626, allocations: 0.673 MB / 1.032 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.228e-05/0.6626, allocations: 0 / 1.032 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.6626, allocations: 7.438 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.6626, allocations: 0 / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009548/0.6722, allocations: 0.7663 MB / 1.033 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.6724, allocations: 288.6 kB / 1.033 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.357, allocations: 4 kB / 1.033 GB, free: 5.52 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches