Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001372/0.001372, allocations: 108 kB / 15.6 MB, free: 132 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.001721/0.001721, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.406/1.406, 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 9.1.3-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001503, allocations: 67.89 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7193/0.7208, allocations: 140.4 MB / 0.9498 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001571/0.7224, allocations: 0.5423 MB / 0.9503 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006349/0.723, allocations: 0.7755 MB / 0.951 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.242e-05/0.7231, allocations: 1.594 kB / 0.951 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.7231, allocations: 0 / 0.951 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.258e-06/0.7231, allocations: 0 / 0.951 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.7233, allocations: 15.16 kB / 0.9511 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.859e-05/0.7234, allocations: 13.92 kB / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.7234, allocations: 0 / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.326e-05/0.7234, allocations: 5.609 kB / 0.9511 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.7236, allocations: 15.39 kB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.7236, allocations: 0 / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-06/0.7236, allocations: 3.938 kB / 0.9511 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.415e-06/0.7236, allocations: 0 / 0.9511 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.7236, allocations: 5.156 kB / 0.9511 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 2.88e-05/0.7237, allocations: 4 kB / 0.9511 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.7237, allocations: 1.375 kB / 0.9511 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7237, allocations: 0 / 0.9511 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.7237, allocations: 0 / 0.9511 GB, free: 8.051 MB / 0.7169 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.0001644/0.7239, allocations: 306.2 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.7239, allocations: 9.219 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.086e-05/0.7239, allocations: 32.19 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.857e-05/0.7239, allocations: 0.9375 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.346e-05/0.724, allocations: 164.4 kB / 0.9516 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.724, allocations: 5.875 kB / 0.9516 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-06/0.724, allocations: 4.359 kB / 0.9516 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.142e-05/0.7241, allocations: 27.95 kB / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.7241, allocations: 3.938 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.7241, allocations: 0 / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.7241, allocations: 1 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.625e-05/0.7241, allocations: 13.03 kB / 0.9517 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.7243, allocations: 378 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.919e-05/0.7244, allocations: 174.5 kB / 0.9522 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.7244, allocations: 80.14 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.7244, allocations: 75.28 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.7244, allocations: 111.5 kB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.7244, allocations: 4 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.834e-05/0.7245, allocations: 31.02 kB / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.7245, allocations: 126.7 kB / 0.9526 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.993e-05/0.7246, allocations: 103.2 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.7246, allocations: 30.89 kB / 0.9527 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.671e-05/0.7246, allocations: 84.12 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.7246, allocations: 0 / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.7246, allocations: 12.62 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.876e-05/0.7247, allocations: 314.8 kB / 0.9531 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-06/0.7247, allocations: 1.438 kB / 0.9531 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-06/0.7247, allocations: 1.406 kB / 0.9531 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.142e-05/0.7247, allocations: 14.2 kB / 0.9531 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7247, allocations: 3.938 kB / 0.9531 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.556e-05/0.7248, allocations: 35.3 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.7248, allocations: 8.172 kB / 0.9532 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7248, allocations: 5.5 kB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.7248, allocations: 0 / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-05/0.7249, allocations: 1.406 kB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.7249, allocations: 0 / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.006e-05/0.7249, allocations: 1.531 kB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.7249, allocations: 0 / 0.9532 GB, free: 5.738 MB / 0.7169 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 5.013e-05/0.725, allocations: 186.6 kB / 0.9534 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.725, allocations: 106.1 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.725, allocations: 117.1 kB / 0.9536 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.7251, allocations: 181.8 kB / 0.9537 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/0.7251, allocations: 180.2 kB / 0.9539 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/0.7251, allocations: 177.6 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.7253, allocations: 406.4 kB / 0.9545 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.7253, allocations: 106.3 kB / 0.9546 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-05/0.7253, allocations: 106.4 kB / 0.9547 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.918e-05/0.7253, allocations: 185.2 kB / 0.9549 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.7254, allocations: 177.3 kB / 0.955 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/0.7254, allocations: 181.5 kB / 0.9552 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-05/0.7254, allocations: 181.8 kB / 0.9554 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.545e-05/0.7255, allocations: 315.4 kB / 0.9557 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.7255, allocations: 179.1 kB / 0.9558 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.7255, allocations: 185.6 kB / 0.956 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.7256, allocations: 101 kB / 0.9561 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.7256, allocations: 185.6 kB / 0.9563 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.7256, allocations: 107 kB / 0.9564 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.429e-05/0.7256, allocations: 75.28 kB / 0.9565 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7257, allocations: 1.438 kB / 0.9565 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002082/0.7259, allocations: 0 / 0.9565 GB, free: 2.172 MB / 0.7169 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.0001925/0.7261, allocations: 0.8178 MB / 0.9573 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.627e-05/0.7261, allocations: 9.688 kB / 0.9573 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7261, allocations: 1.344 kB / 0.9573 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.7261, allocations: 0 / 0.9573 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.7264, allocations: 461.7 kB / 0.9577 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.7266, allocations: 188.8 kB / 0.9579 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.7268, allocations: 0.6739 MB / 0.9586 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.157e-05/0.7268, allocations: 0 / 0.9586 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.7268, allocations: 12.94 kB / 0.9586 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7268, allocations: 0 / 0.9586 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.7433, allocations: 0.9273 MB / 0.9595 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/8.22, allocations: 11.52 kB / 0.9595 GB, free: 15.46 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches