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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_latest_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_latest_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.001431/0.001431, 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.001559/0.001559, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.315/1.315, 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 11.0.0-master/package.mo): time 2.565/2.565, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 69.44 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2702, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001776/0.272, allocations: 0.6074 MB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000929/0.2729, allocations: 0.7961 MB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-06/0.273, allocations: 0 / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.273, allocations: 4 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-06/0.273, allocations: 0 / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.2732, allocations: 4 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.836e-05/0.2733, allocations: 8 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.2733, allocations: 3.984 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.355e-05/0.2733, allocations: 0 / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.2735, allocations: 19.97 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.2735, allocations: 4 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.119e-06/0.2735, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.2735, allocations: 3.938 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.2735, allocations: 0 / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 2.976e-05/0.2736, allocations: 0 / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2736, allocations: 4 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2736, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2736, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 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.0002638/0.2739, allocations: 307.6 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.2739, allocations: 19.97 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.274, allocations: 34.75 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.879e-05/0.274, allocations: 0.9375 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.2741, allocations: 164.4 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.2741, allocations: 384 / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.2741, allocations: 384 / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.65e-05/0.2742, allocations: 30.27 kB / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2742, allocations: 3.938 kB / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.2742, allocations: 0 / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2742, allocations: 0 / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.523e-05/0.2743, allocations: 4 kB / 1.054 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.2745, allocations: 383.5 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.988e-05/0.2746, allocations: 169.1 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.2747, allocations: 84.14 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.2747, allocations: 79.28 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.2747, allocations: 113.9 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2747, allocations: 0 / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.964e-05/0.2748, allocations: 29.64 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.2749, allocations: 126.7 kB / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.275, allocations: 93.84 kB / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.275, allocations: 29.7 kB / 1.055 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.275, allocations: 88.2 kB / 1.055 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-06/0.275, allocations: 0 / 1.055 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.2751, allocations: 17.66 kB / 1.055 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.2752, allocations: 310.8 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.2752, allocations: 4 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-06/0.2752, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.015e-05/0.2752, allocations: 4.859 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2752, allocations: 8 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.432e-05/0.2753, allocations: 37.64 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2753, allocations: 5.094 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2753, allocations: 3.984 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.2754, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.616e-05/0.2754, allocations: 4 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2754, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-06/0.2754, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.2754, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 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.807e-05/0.2755, allocations: 193.1 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.2756, allocations: 105 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.2756, allocations: 108 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-05/0.2757, allocations: 180.2 kB / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-05/0.2758, allocations: 180.2 kB / 1.056 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.093e-05/0.2758, allocations: 180.3 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.276, allocations: 417.1 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/0.2761, allocations: 101 kB / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.2761, allocations: 101 kB / 1.057 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.341e-05/0.2762, allocations: 188.2 kB / 1.057 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.2762, allocations: 176.3 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.073e-05/0.2763, allocations: 188.2 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.506e-05/0.2764, allocations: 184.5 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.2765, allocations: 303.7 kB / 1.058 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.2766, allocations: 186.1 kB / 1.058 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.2767, allocations: 184.2 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.2767, allocations: 105 kB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.2768, allocations: 176.3 kB / 1.059 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.2768, allocations: 108.9 kB / 1.059 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.2769, allocations: 75.28 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2769, allocations: 3.938 kB / 1.059 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002112/0.2771, allocations: 0 / 1.059 GB, free: 0.7773 MB / 0.8106 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.0003814/0.2775, allocations: 0.8128 MB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.253e-05/0.2776, allocations: 7.938 kB / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2776, allocations: 0 / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.2776, allocations: 0 / 1.06 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.2779, allocations: 0.5305 MB / 1.06 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.2782, allocations: 180.5 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.2785, allocations: 0.6692 MB / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.252e-05/0.2785, allocations: 3.984 kB / 1.061 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.2785, allocations: 7.438 kB / 1.061 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2785, allocations: 0 / 1.061 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009725/0.2882, allocations: 0.8328 MB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.2885, allocations: 288.1 kB / 1.062 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.072, allocations: 3.25 kB / 1.062 GB, free: 13.45 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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