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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001134/0.001134, 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.001181/0.001181, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.661/2.661, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 61.94 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2464, allocations: 157.4 MB / 1.053 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001688/0.2481, allocations: 0.549 MB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008029/0.249, allocations: 0.7922 MB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.383e-05/0.249, allocations: 0 / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.345e-05/0.249, allocations: 0 / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.218e-06/0.249, allocations: 0 / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.2493, allocations: 15.92 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.671e-05/0.2493, allocations: 4 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.2494, allocations: 4 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.278e-05/0.2494, allocations: 0 / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.2495, allocations: 23.97 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.133e-06/0.2495, allocations: 0 / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-06/0.2495, allocations: 0 / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.2496, allocations: 0 / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.641e-05/0.2496, allocations: 0 / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 2.974e-05/0.2496, allocations: 3.938 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2496, allocations: 0 / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2496, allocations: 4 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2496, allocations: 0 / 1.054 GB, free: 6.809 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.000243/0.2499, allocations: 311.6 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2499, allocations: 12.66 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.2499, allocations: 30.75 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.732e-05/0.25, allocations: 4.922 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.792e-05/0.2501, allocations: 160.4 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-06/0.2501, allocations: 384 / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-06/0.2501, allocations: 4.359 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.865e-05/0.2501, allocations: 34.2 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2502, allocations: 11.88 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-06/0.2502, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2502, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.355e-05/0.2502, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.2505, allocations: 379.5 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.331e-05/0.2505, allocations: 169.1 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.2506, allocations: 88.08 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.2506, allocations: 75.28 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.2506, allocations: 113.9 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.2506, allocations: 0 / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 5.957e-05/0.2507, allocations: 25.7 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.2508, allocations: 126.7 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.2508, allocations: 97.84 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.2509, allocations: 29.7 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.2509, allocations: 80.14 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.2509, allocations: 0 / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.2509, allocations: 13.72 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.251, allocations: 310.8 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.2511, allocations: 7.938 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-06/0.2511, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.095e-05/0.2511, allocations: 9.047 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2511, allocations: 7.875 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.893e-05/0.2512, allocations: 37.69 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2512, allocations: 4 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2512, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.2512, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.2513, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.2513, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.014e-05/0.2513, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.2513, allocations: 4.031 kB / 1.056 GB, free: 4.461 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.193e-05/0.2514, allocations: 193 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.2514, allocations: 109 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.2515, allocations: 108.1 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-05/0.2515, allocations: 180.2 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.306e-05/0.2516, allocations: 180.3 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-05/0.2517, allocations: 184.2 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.2519, allocations: 405.2 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/0.2519, allocations: 105 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.2519, allocations: 104.9 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.328e-05/0.252, allocations: 180.3 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/0.2521, allocations: 184.2 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.717e-05/0.2521, allocations: 184.8 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.227e-05/0.2522, allocations: 180.2 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.2523, allocations: 304 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.2524, allocations: 198 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.2524, allocations: 180.3 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.2525, allocations: 101 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.2526, allocations: 180.2 kB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.2526, allocations: 105 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.589e-05/0.2526, allocations: 75.28 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2526, allocations: 4.094 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002/0.2528, allocations: 0 / 1.06 GB, free: 0.8711 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.0003381/0.2532, allocations: 0.8126 MB / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.542e-05/0.2532, allocations: 4 kB / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2532, allocations: 4.062 kB / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.2533, allocations: 0 / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.2536, allocations: 460 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.2539, allocations: 193.8 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.2541, allocations: 0.6729 MB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.107e-06/0.2541, allocations: 0 / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.2541, allocations: 11.44 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2541, allocations: 0 / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.252/2.506, allocations: 0.9515 MB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/13.98, allocations: 5.078 kB / 1.063 GB, free: 13.86 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