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.004706/0.004706, allocations: 96.73 kB / 15.73 MB, free: 6.488 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.001107/0.001107, allocations: 189.5 kB / 16.67 MB, free: 6.391 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.33/2.33, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.95 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2515, allocations: 140.4 MB / 1.088 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002399/0.254, allocations: 1.281 MB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007614/0.2548, allocations: 444.7 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.2548, allocations: 4 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.605e-05/0.2549, allocations: 3.938 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.51e-05/0.255, allocations: 3.984 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.2552, allocations: 35.91 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.2553, allocations: 27.91 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.2554, allocations: 0 / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.2554, allocations: 15.94 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.2555, allocations: 15.91 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.2555, allocations: 0 / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.2556, allocations: 43.89 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.2557, allocations: 15.92 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.2557, allocations: 19.88 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.2559, allocations: 56.03 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2559, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2559, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2559, allocations: 0 / 1.089 GB, free: 28 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.0003931/0.2563, allocations: 359.2 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2563, allocations: 8.031 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.2564, allocations: 30.75 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.2564, allocations: 4.891 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.2566, allocations: 174.6 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.2566, allocations: 8.375 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.2566, allocations: 384 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.934e-05/0.2567, allocations: 47.53 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.2567, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2567, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2567, allocations: 3.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.369e-05/0.2568, allocations: 7.938 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.2569, allocations: 174.5 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.152e-05/0.257, allocations: 49.14 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.257, allocations: 17.78 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.257, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.2571, allocations: 42.5 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2571, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001351/0.2572, allocations: 49.62 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.2573, allocations: 77.36 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.2574, allocations: 145.8 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2574, allocations: 25.7 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.2574, allocations: 80.14 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.2575, allocations: 15.89 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.2575, allocations: 25.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.2576, allocations: 322.8 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.711e-05/0.2577, allocations: 20 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.2577, allocations: 23.98 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/0.2578, allocations: 56.66 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2578, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001243/0.2579, allocations: 101.6 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2579, allocations: 8 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.258, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.258, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.772e-05/0.258, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.258, allocations: 3.938 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.2581, allocations: 3.953 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2581, allocations: 11.98 kB / 1.091 GB, free: 13.91 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 6.826e-05/0.2582, allocations: 113.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.2582, allocations: 7.891 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.2582, allocations: 7.531 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2582, allocations: 4.094 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2582, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2582, allocations: 11.91 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.2584, allocations: 161.6 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2584, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.2584, allocations: 11.88 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.2584, allocations: 4 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.2584, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2584, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2584, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.034e-05/0.2585, allocations: 69.94 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.2586, allocations: 85.05 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2586, allocations: 4.031 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.738e-05/0.2586, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.2586, allocations: 15.92 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.2586, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.457e-05/0.2587, allocations: 95.27 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2587, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002095/0.2589, allocations: 16 kB / 1.092 GB, free: 13.2 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.0003997/0.2593, allocations: 0.6365 MB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.2595, allocations: 85.61 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2595, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.2595, allocations: 4 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.2597, allocations: 8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.2608, allocations: 1.325 MB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.261, allocations: 0.6846 MB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.354e-05/0.2611, allocations: 4 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.2611, allocations: 11.44 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.2611, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.2802, allocations: 1.706 MB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.559, allocations: 8.094 kB / 1.096 GB, free: 8.789 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