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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001497/0.001497, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.001781, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.91 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6861, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.002042/0.6882, allocations: 0.5327 MB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.6893, allocations: 0.7844 MB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.6893, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.6893, allocations: 4 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.6894, allocations: 0 / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.6896, allocations: 23.91 kB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.637e-05/0.6897, allocations: 0 / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.6898, allocations: 8 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.6898, allocations: 0 / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.6899, allocations: 15.98 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.69, allocations: 4 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.556e-06/0.69, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.69, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.69, allocations: 3.984 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 3.533e-05/0.69, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6901, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.026e-06/0.6901, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.6901, allocations: 3.938 kB / 1.019 GB, free: 1.066 MB / 0.7637 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.0003299/0.6904, allocations: 315.5 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6905, allocations: 12.06 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.6905, allocations: 38.69 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.6906, allocations: 4.875 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.6907, allocations: 160.4 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.6907, allocations: 384 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-06/0.6907, allocations: 384 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.727e-05/0.6908, allocations: 34.25 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.6908, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.6908, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.6908, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.6909, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.6912, allocations: 387.4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.881e-05/0.6913, allocations: 169.1 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.6913, allocations: 84.12 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.6913, allocations: 75.28 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.6914, allocations: 117.9 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.6914, allocations: 4.031 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.623e-05/0.6915, allocations: 33.64 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.6915, allocations: 126.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/0.6916, allocations: 89.86 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.6916, allocations: 25.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.6917, allocations: 88.27 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.6917, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.6917, allocations: 9.719 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.6918, allocations: 318.8 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.6919, allocations: 4 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-06/0.6919, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.6919, allocations: 4.859 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6919, allocations: 3.938 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.078e-05/0.692, allocations: 41.7 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.692, allocations: 4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.692, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.692, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/0.6921, allocations: 3.984 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6921, allocations: 11.92 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.04e-05/0.6921, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.6921, allocations: 3.984 kB / 1.021 GB, free: 14.7 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 9.221e-05/0.6922, allocations: 193.1 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.6923, allocations: 101 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.6924, allocations: 112 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-05/0.6924, allocations: 176.3 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-05/0.6925, allocations: 184.2 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.753e-05/0.6926, allocations: 180.3 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.6928, allocations: 405.2 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/0.6928, allocations: 108.9 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.6929, allocations: 105 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.895e-05/0.6929, allocations: 184.2 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.693, allocations: 176.3 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.268e-05/0.6931, allocations: 184.3 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.848e-05/0.6931, allocations: 180.2 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.6933, allocations: 311.7 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.6933, allocations: 182.1 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/0.6934, allocations: 184.2 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.6935, allocations: 109 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.6936, allocations: 176.3 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.6936, allocations: 109.2 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.048e-05/0.6937, allocations: 75.28 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6937, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002262/0.6939, allocations: 0 / 1.024 GB, free: 11.11 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.0003862/0.6943, allocations: 0.8127 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.054e-05/0.6944, allocations: 11.97 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6944, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.6944, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.6947, allocations: 466 kB / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.6951, allocations: 178.7 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.6953, allocations: 0.6768 MB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.208e-05/0.6953, allocations: 0 / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.6953, allocations: 7.438 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6953, allocations: 0 / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.7135, allocations: 0.9335 MB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.163/7.876, allocations: 13.64 kB / 1.027 GB, free: 8.113 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