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.001254/0.001254, 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.001351/0.001351, 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.614/2.614, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001673, allocations: 67.89 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7701/0.7718, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002371/0.7742, allocations: 1.296 MB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007673/0.775, allocations: 450.9 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.7751, allocations: 4 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.638e-05/0.7752, allocations: 3.938 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.263e-05/0.7752, allocations: 3.984 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.7755, allocations: 27.91 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.691e-05/0.7755, allocations: 31.91 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.7756, allocations: 3.938 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.7756, allocations: 15.92 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.7757, allocations: 11.98 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.968e-06/0.7757, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.7758, allocations: 39.89 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.7759, allocations: 19.92 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.7759, allocations: 11.94 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.776, allocations: 58.06 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.776, allocations: 0 / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7761, allocations: 0 / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.7761, allocations: 4 kB / 1.019 GB, free: 0.5273 MB / 0.7637 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.0003802/0.7764, allocations: 355.2 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.7765, allocations: 12.03 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.7765, allocations: 30.75 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.7766, allocations: 0.9375 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.7767, allocations: 180.2 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.7768, allocations: 4.375 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.7768, allocations: 384 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.7769, allocations: 51.53 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7769, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.7769, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.7769, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.524e-05/0.7769, allocations: 11.94 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.7771, allocations: 170.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.025e-05/0.7772, allocations: 41.28 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.7772, allocations: 21.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.7772, allocations: 7.875 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.7773, allocations: 38.5 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.7773, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001434/0.7774, allocations: 57.75 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.7775, allocations: 77.11 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.7776, allocations: 137.8 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.7776, allocations: 25.7 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.7777, allocations: 92.03 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.7777, allocations: 11.84 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.7778, allocations: 21.72 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7779, allocations: 318.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.7779, allocations: 32.02 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.778, allocations: 20 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.904e-05/0.778, allocations: 50.08 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.778, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001354/0.7782, allocations: 96.81 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7782, allocations: 7.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.7782, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.7783, allocations: 3.984 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/0.7783, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.7783, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.7784, allocations: 7.906 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.7784, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 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.016e-05/0.7785, allocations: 117.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.7785, allocations: 15.83 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.7785, allocations: 3.531 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.7785, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.7785, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.7785, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.7787, allocations: 157.7 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7787, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.7787, allocations: 11.94 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.7787, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.7787, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7787, allocations: 3.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7787, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.441e-05/0.7788, allocations: 81.83 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.7789, allocations: 89.05 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.7789, allocations: 4.078 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.667e-05/0.7789, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.7789, allocations: 3.984 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.7789, allocations: 4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.717e-05/0.779, allocations: 95.27 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.779, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002152/0.7792, allocations: 20 kB / 1.022 GB, free: 13.71 MB / 0.7794 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.0004416/0.7797, allocations: 0.6327 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.7798, allocations: 81.67 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.7798, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.507e-05/0.7799, allocations: 15.97 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.78, allocations: 4 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.781, allocations: 1.311 MB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.7813, allocations: 0.6807 MB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.044e-05/0.7813, allocations: 11.98 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.7813, allocations: 19.38 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7813, allocations: 0 / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.7993, allocations: 1.678 MB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/8.058, allocations: 20.14 kB / 1.026 GB, free: 9.301 MB / 0.7794 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