Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.AggregationCellTimes,fileNamePrefix="Buildings_latest_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_latest_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.006496/0.006496, allocations: 102.5 kB / 15.73 MB, free: 5.508 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.001276/0.001276, allocations: 195.7 kB / 16.67 MB, free: 5.438 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.639/2.639, allocations: 469.4 MB / 0.7421 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2725, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002219/0.2748, allocations: 1.296 MB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007182/0.2755, allocations: 442.9 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.2756, allocations: 0 / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9e-05/0.2757, allocations: 7.922 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.2757, allocations: 0 / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.276, allocations: 43.89 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.704e-05/0.2761, allocations: 23.92 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.2761, allocations: 0 / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.325e-05/0.2761, allocations: 19.91 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.2762, allocations: 4 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.335e-06/0.2762, allocations: 0 / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.2763, allocations: 47.88 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.2764, allocations: 15.92 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.2764, allocations: 15.94 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.2766, allocations: 58.75 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2766, allocations: 4 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2766, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2766, allocations: 4 kB / 1.222 GB, free: 12.64 MB / 0.9825 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.000337/0.2769, allocations: 359.2 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.277, allocations: 8.031 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.277, allocations: 30.75 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.2771, allocations: 4.891 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2772, allocations: 168.3 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.2772, allocations: 4.375 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.2772, allocations: 384 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.094e-05/0.2773, allocations: 55.53 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.2773, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.2773, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2773, allocations: 3.984 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.2774, allocations: 7.938 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.2775, allocations: 178.5 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.507e-05/0.2776, allocations: 37.22 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.2776, allocations: 21.77 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.2776, allocations: 3.938 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.2777, allocations: 46.44 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/0.2777, allocations: 4 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001321/0.2778, allocations: 53.58 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.2779, allocations: 77.11 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.278, allocations: 137.8 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.278, allocations: 29.64 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.278, allocations: 84.12 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.278, allocations: 11.94 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.2781, allocations: 25.97 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.2782, allocations: 322.8 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.22e-05/0.2782, allocations: 27.98 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.2782, allocations: 20 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.735e-05/0.2783, allocations: 47.95 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2783, allocations: 0 / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001203/0.2784, allocations: 101.5 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2785, allocations: 8 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.2785, allocations: 7.984 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2785, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-05/0.2785, allocations: 8 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2786, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.2786, allocations: 7.891 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.2786, allocations: 4 kB / 1.224 GB, free: 10.51 MB / 0.9825 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 6.213e-05/0.2787, allocations: 110.4 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.2787, allocations: 11.88 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.2787, allocations: 3.531 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2787, allocations: 4 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2787, allocations: 0 / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2787, allocations: 4 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.481e-05/0.2788, allocations: 161.7 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2788, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.2789, allocations: 7.938 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2789, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.2789, allocations: 3.938 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2789, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2789, allocations: 4 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.489e-05/0.279, allocations: 69.98 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.279, allocations: 96.92 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.279, allocations: 0 / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.687e-05/0.2791, allocations: 0 / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.2791, allocations: 4 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.2791, allocations: 0 / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.978e-05/0.2791, allocations: 99.27 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2791, allocations: 0 / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002057/0.2793, allocations: 23.97 kB / 1.224 GB, free: 9.816 MB / 0.9825 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.0003714/0.2797, allocations: 0.6287 MB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.2799, allocations: 89.61 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2799, allocations: 7.969 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.2799, allocations: 4 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.2801, allocations: 16.77 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.281, allocations: 1.311 MB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.2813, allocations: 0.6846 MB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.2813, allocations: 4 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.2813, allocations: 15.44 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.2813, allocations: 0 / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.2978, allocations: 1.729 MB / 1.228 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.681, allocations: 4.828 kB / 1.228 GB, free: 5.383 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches