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.001239/0.001239, 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.001033/0.001033, allocations: 196.1 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.321/2.321, allocations: 390.2 MB / 0.6647 GB, free: 380 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 0.8127 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5766/0.578, allocations: 140.4 MB / 0.9498 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001636/0.5797, allocations: 0.5399 MB / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007177/0.5805, allocations: 0.7792 MB / 0.951 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.449e-05/0.5805, allocations: 1.281 kB / 0.951 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.5805, allocations: 0 / 0.951 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-06/0.5805, allocations: 0 / 0.951 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.5808, allocations: 22.39 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.698e-05/0.5808, allocations: 5.625 kB / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.5809, allocations: 1.5 kB / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.272e-05/0.5809, allocations: 1.625 kB / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.581, allocations: 18.34 kB / 0.9511 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.614e-06/0.581, allocations: 0 / 0.9511 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.976e-06/0.581, allocations: 1.312 kB / 0.9511 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.876e-06/0.581, allocations: 4 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.518e-05/0.5811, allocations: 0 / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.009e-05/0.5811, allocations: 1.312 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.5811, allocations: 0 / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5811, allocations: 0 / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5811, allocations: 0 / 0.9511 GB, free: 8.008 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.0001884/0.5813, allocations: 310.4 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5814, allocations: 10.59 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.197e-05/0.5814, allocations: 34.73 kB / 0.9514 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.533e-05/0.5814, allocations: 0.9375 kB / 0.9514 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.303e-05/0.5815, allocations: 169.4 kB / 0.9516 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.5815, allocations: 384 / 0.9516 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.5815, allocations: 1.875 kB / 0.9516 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.825e-05/0.5815, allocations: 31.62 kB / 0.9516 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5816, allocations: 3.938 kB / 0.9516 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.5816, allocations: 0 / 0.9516 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5816, allocations: 5.312 kB / 0.9516 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.556e-05/0.5816, allocations: 0 / 0.9516 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.5818, allocations: 386.1 kB / 0.952 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.125e-05/0.5818, allocations: 174.5 kB / 0.9522 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.5819, allocations: 84.14 kB / 0.9523 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.5819, allocations: 76.75 kB / 0.9523 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.5819, allocations: 109.9 kB / 0.9524 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.5819, allocations: 0 / 0.9524 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.559e-05/0.582, allocations: 31.11 kB / 0.9525 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.582, allocations: 130.6 kB / 0.9526 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.026e-05/0.5821, allocations: 100.4 kB / 0.9527 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-06/0.5821, allocations: 25.7 kB / 0.9527 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.447e-05/0.5821, allocations: 80.14 kB / 0.9528 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.5821, allocations: 5.312 kB / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.5821, allocations: 15.28 kB / 0.9528 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.5822, allocations: 312.5 kB / 0.9531 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-06/0.5822, allocations: 0 / 0.9531 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-06/0.5822, allocations: 1.344 kB / 0.9531 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.957e-05/0.5822, allocations: 10.23 kB / 0.9531 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5822, allocations: 3.938 kB / 0.9531 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.534e-05/0.5823, allocations: 42.62 kB / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.5823, allocations: 10.62 kB / 0.9532 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5823, allocations: 4.797 kB / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5823, allocations: 0 / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.07e-05/0.5824, allocations: 2.656 kB / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.5824, allocations: 0 / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.408e-06/0.5824, allocations: 0 / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-06/0.5824, allocations: 1.406 kB / 0.9532 GB, free: 5.688 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 4.211e-05/0.5825, allocations: 186.3 kB / 0.9534 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.5825, allocations: 106.3 kB / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.5825, allocations: 115.8 kB / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.5825, allocations: 177.4 kB / 0.9537 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.5826, allocations: 181.6 kB / 0.9539 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/0.5826, allocations: 181.4 kB / 0.9541 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.5827, allocations: 406.5 kB / 0.9545 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.5827, allocations: 106.2 kB / 0.9546 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.5828, allocations: 106.4 kB / 0.9547 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.008e-05/0.5828, allocations: 177.3 kB / 0.9548 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.5828, allocations: 185.3 kB / 0.955 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-05/0.5828, allocations: 181.6 kB / 0.9552 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.2e-05/0.5829, allocations: 185.2 kB / 0.9554 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.754e-05/0.5829, allocations: 311 kB / 0.9557 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.583, allocations: 183.4 kB / 0.9558 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.583, allocations: 177.6 kB / 0.956 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.386e-05/0.583, allocations: 110.1 kB / 0.9561 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.5831, allocations: 181.5 kB / 0.9563 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.5831, allocations: 105.2 kB / 0.9564 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.38e-05/0.5831, allocations: 80.62 kB / 0.9565 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5831, allocations: 0 / 0.9565 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000221/0.5833, allocations: 1.25 kB / 0.9565 GB, free: 2.117 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.0002049/0.5835, allocations: 0.8105 MB / 0.9573 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.936e-05/0.5836, allocations: 9.281 kB / 0.9573 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5836, allocations: 1.312 kB / 0.9573 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.5836, allocations: 3.938 kB / 0.9573 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.5839, allocations: 463.2 kB / 0.9577 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.5841, allocations: 178.2 kB / 0.9579 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.5843, allocations: 0.6741 MB / 0.9585 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.838e-06/0.5843, allocations: 0 / 0.9585 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.552e-05/0.5843, allocations: 7.438 kB / 0.9585 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.5843, allocations: 0 / 0.9585 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.399/1.984, allocations: 0.935 MB / 0.9595 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/9.356, allocations: 14.31 kB / 0.9595 GB, free: 15.42 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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