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.001564/0.001564, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001938/0.001938, allocations: 193.4 kB / 16.14 MB, free: 6.719 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.494/1.494, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.725/2.725, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 59.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6221/0.6236, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001599/0.6253, allocations: 0.6169 MB / 1.017 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.6261, allocations: 0.7767 MB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.747e-06/0.6261, allocations: 0 / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.6262, allocations: 4 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-06/0.6262, allocations: 0 / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.6264, allocations: 19.98 kB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.739e-05/0.6264, allocations: 0 / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.6264, allocations: 4 kB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.093e-05/0.6265, allocations: 0 / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.6266, allocations: 23.97 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.943e-06/0.6266, allocations: 0 / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.905e-06/0.6266, allocations: 0 / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.704e-06/0.6266, allocations: 0 / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.6266, allocations: 7.938 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 2.566e-05/0.6267, allocations: 0 / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6267, allocations: 0 / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.516e-06/0.6267, allocations: 3.984 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.6267, allocations: 3.938 kB / 1.018 GB, free: 1.324 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.0002332/0.6269, allocations: 311.5 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.627, allocations: 8.031 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.418e-05/0.627, allocations: 30.75 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.509e-05/0.627, allocations: 4.938 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.78e-05/0.6271, allocations: 160.4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.6271, allocations: 4.375 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.6272, allocations: 4.359 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.314e-05/0.6272, allocations: 30.27 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.6272, allocations: 3.938 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.6273, allocations: 4 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.6273, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.542e-05/0.6273, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.6275, allocations: 379.5 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.13e-05/0.6276, allocations: 177.1 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.6277, allocations: 80.14 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.6277, allocations: 75.28 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.6277, allocations: 105.8 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.6277, allocations: 4 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.814e-05/0.6278, allocations: 33.64 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.6279, allocations: 130.6 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/0.6279, allocations: 93.86 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.628, allocations: 25.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.628, allocations: 80.14 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.628, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.628, allocations: 21.83 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.6281, allocations: 310.8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-06/0.6281, allocations: 32 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-06/0.6282, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.17e-05/0.6282, allocations: 20.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6282, allocations: 3.938 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.95e-05/0.6283, allocations: 33.64 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.6283, allocations: 9.875 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.6283, allocations: 4.094 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.6283, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.933e-05/0.6284, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.6284, allocations: 7.969 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.056e-05/0.6284, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.6284, allocations: 0 / 1.02 GB, free: 14.96 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.038e-05/0.6285, allocations: 185.6 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.6285, allocations: 104.9 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.6286, allocations: 112.1 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.388e-05/0.6287, allocations: 180.3 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-05/0.6287, allocations: 184.2 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.753e-05/0.6288, allocations: 176.3 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.629, allocations: 405.1 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-05/0.6291, allocations: 105 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.6291, allocations: 109 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.951e-05/0.6292, allocations: 180.2 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.832e-05/0.6292, allocations: 180.3 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.577e-05/0.6293, allocations: 180.2 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.458e-05/0.6294, allocations: 176.3 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.6295, allocations: 319.7 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.6296, allocations: 178.1 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.6296, allocations: 188.2 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.526e-05/0.6297, allocations: 105.3 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.6298, allocations: 184.3 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.6298, allocations: 109 kB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.6299, allocations: 79.28 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6299, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001972/0.6301, allocations: 0 / 1.024 GB, free: 11.38 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.0003401/0.6304, allocations: 0.8166 MB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.881e-05/0.6305, allocations: 7.938 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6305, allocations: 0 / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.6305, allocations: 0 / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.6308, allocations: 0.5264 MB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.6311, allocations: 187.6 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.6313, allocations: 0.6692 MB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.003e-05/0.6314, allocations: 0 / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.6314, allocations: 7.438 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6314, allocations: 0 / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4006/1.032, allocations: 0.8165 MB / 1.026 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/1.032, allocations: 292.7 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/3.168, allocations: 4 kB / 1.027 GB, free: 8.047 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