Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.AggregationCellTimes,fileNamePrefix="Buildings_9_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_9_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.005241/0.005246, allocations: 104.7 kB / 15.73 MB, free: 6.035 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.001173/0.001174, allocations: 199.2 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.327/2.327, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 71.36 kB / 0.9504 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2564, allocations: 140.4 MB / 1.088 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002572/0.259, allocations: 1.285 MB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.2599, allocations: 456.6 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.2599, allocations: 4 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.015e-05/0.26, allocations: 0 / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-05/0.2601, allocations: 3.938 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.2604, allocations: 35.89 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.488e-05/0.2605, allocations: 19.92 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.2605, allocations: 0 / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.2606, allocations: 19.91 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/0.2607, allocations: 8 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.2607, allocations: 0 / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.2608, allocations: 43.89 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.2609, allocations: 27.91 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.2609, allocations: 15.88 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.2611, allocations: 50.69 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2611, allocations: 0 / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2611, allocations: 0 / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2611, allocations: 4 kB / 1.089 GB, free: 144 kB / 0.8419 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.0004779/0.2616, allocations: 356.2 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.2617, allocations: 8.031 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.2617, allocations: 30.75 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.2617, allocations: 8.844 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.2619, allocations: 169.3 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.262, allocations: 8.359 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.262, allocations: 384 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.2621, allocations: 47.48 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2621, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2621, allocations: 4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2621, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.906e-05/0.2622, allocations: 11.98 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.2624, allocations: 182.4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.319e-05/0.2624, allocations: 41.16 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.2625, allocations: 17.77 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.2625, allocations: 3.938 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.2625, allocations: 50.5 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2625, allocations: 0 / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001666/0.2627, allocations: 45.62 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.2628, allocations: 77.11 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.2629, allocations: 140.2 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.2629, allocations: 25.7 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.263, allocations: 92.38 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.263, allocations: 7.906 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.2631, allocations: 25.7 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2632, allocations: 322.8 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.816e-05/0.2632, allocations: 23.98 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.059e-05/0.2633, allocations: 23.98 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.672e-05/0.2634, allocations: 44.84 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2634, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000135/0.2635, allocations: 96.53 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2635, allocations: 15.98 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.2636, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2636, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.2636, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2637, allocations: 3.938 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.633e-05/0.2637, allocations: 7.844 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2637, allocations: 4 kB / 1.091 GB, free: 14.03 MB / 0.8575 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.709e-05/0.2638, allocations: 117.8 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.2638, allocations: 3.938 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.2639, allocations: 7.531 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2639, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.2639, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2639, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.264, allocations: 157.7 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.264, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.2641, allocations: 7.938 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2641, allocations: 0 / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.2641, allocations: 3.938 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.2641, allocations: 3.984 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2641, allocations: 4 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.456e-05/0.2642, allocations: 73.84 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.2643, allocations: 96.94 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.2643, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.863e-05/0.2643, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.2643, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.2643, allocations: 32 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.245e-05/0.2644, allocations: 107.2 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2644, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002251/0.2646, allocations: 19.98 kB / 1.092 GB, free: 13.32 MB / 0.8575 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.0004434/0.2651, allocations: 0.6405 MB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.2653, allocations: 85.66 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2653, allocations: 0 / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.554e-05/0.2653, allocations: 7.984 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.2655, allocations: 4 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.2667, allocations: 1.318 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.267, allocations: 0.6923 MB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.267, allocations: 0 / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.2671, allocations: 17.47 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of SimCode: time 5.71e-07/0.2671, allocations: 0 / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.285, allocations: 1.699 MB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.587, allocations: 9.266 kB / 1.096 GB, free: 8.902 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches