Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.AggregationCellTimes,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.007996/0.007996, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001949/0.001949, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.311/2.311, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.83 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6774, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002436/0.6798, allocations: 1.295 MB / 1.167 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.6807, allocations: 457.4 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.6807, allocations: 4 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.727e-05/0.6808, allocations: 3.938 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.6809, allocations: 3.984 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.6812, allocations: 35.89 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.216e-05/0.6813, allocations: 19.92 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.6813, allocations: 3.984 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.065e-05/0.6814, allocations: 19.94 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.438e-05/0.6814, allocations: 7.984 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.6814, allocations: 3.938 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.6816, allocations: 43.94 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.6816, allocations: 15.92 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.6817, allocations: 11.94 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.6818, allocations: 60.72 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6818, allocations: 0 / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6818, allocations: 0 / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.6819, allocations: 4 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004252/0.6823, allocations: 360.9 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.6823, allocations: 8.922 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.6824, allocations: 34.69 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.6824, allocations: 4.891 kB / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.6826, allocations: 168.4 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-06/0.6826, allocations: 4.375 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.6826, allocations: 384 / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.6827, allocations: 51.53 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.6827, allocations: 4 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.6827, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.6827, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.6828, allocations: 7.938 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.683, allocations: 174.5 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.595e-05/0.683, allocations: 37.2 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.6831, allocations: 25.72 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.545e-06/0.6831, allocations: 0 / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.6831, allocations: 42.5 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.6831, allocations: 3.938 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.6833, allocations: 49.58 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.6834, allocations: 89.3 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.6835, allocations: 142.9 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.6835, allocations: 25.7 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.6836, allocations: 88.12 kB / 1.169 GB, free: 292 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.6836, allocations: 7.953 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.6837, allocations: 25.7 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6838, allocations: 322.8 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.787e-05/0.6839, allocations: 20 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.6839, allocations: 31.98 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.49e-05/0.684, allocations: 46.28 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.684, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001349/0.6841, allocations: 98.81 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6842, allocations: 8 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.6842, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6842, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.6843, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.6843, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.6843, allocations: 7.891 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.6843, allocations: 8 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.013e-05/0.6844, allocations: 117.8 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.6845, allocations: 7.891 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.6845, allocations: 3.531 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6845, allocations: 4 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6845, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6845, allocations: 3.984 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.6847, allocations: 161.7 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6847, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.6847, allocations: 11.88 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.6847, allocations: 4 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.6847, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6847, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.6847, allocations: 4 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/0.6848, allocations: 65.98 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.6849, allocations: 89 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.6849, allocations: 7.969 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.652e-05/0.6849, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.685, allocations: 4.094 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.685, allocations: 3.984 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.282e-05/0.685, allocations: 99.83 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.685, allocations: 0 / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002443/0.6853, allocations: 23.94 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004928/0.6858, allocations: 0.6443 MB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.686, allocations: 85.61 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.686, allocations: 0 / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.686, allocations: 4 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.6861, allocations: 4.156 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.6873, allocations: 1.313 MB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.6876, allocations: 0.6846 MB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.6876, allocations: 3.984 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.6877, allocations: 15.44 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of SimCode: time 3.1e-07/0.6877, allocations: 0 / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.408/3.096, allocations: 1.714 MB / 1.175 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/11.5, allocations: 8.234 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches