Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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.ShiftAggregationCells,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",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.007724/0.007724, allocations: 98.72 kB / 15.73 MB, free: 6.004 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.001916/0.001916, allocations: 193 kB / 16.67 MB, free: 5.93 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.3/1.3, 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.383/2.383, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.83 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7082/0.7096, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00217/0.7118, allocations: 1.249 MB / 1.167 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.7126, allocations: 493.2 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/0.7127, allocations: 0 / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.7127, allocations: 0 / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.465e-05/0.7128, allocations: 4 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.7131, allocations: 59.8 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.04e-05/0.7132, allocations: 8 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.7132, allocations: 4 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.217e-05/0.7133, allocations: 7.969 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.266e-05/0.7133, allocations: 4 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.7133, allocations: 0 / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.7135, allocations: 67.86 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.7135, allocations: 11.98 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.7136, allocations: 19.86 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.7137, allocations: 68.77 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.7137, allocations: 0 / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7137, allocations: 0 / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.7137, allocations: 0 / 1.168 GB, free: 1.777 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003399/0.7141, allocations: 338.1 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.7141, allocations: 12.92 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.7142, allocations: 30.75 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.7142, allocations: 0.9375 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.74e-05/0.7143, allocations: 164.4 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.7143, allocations: 8.375 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.7143, allocations: 4.375 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.7144, allocations: 53.75 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.7145, allocations: 0 / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.7145, allocations: 0 / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.7145, allocations: 0 / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.647e-05/0.7145, allocations: 12 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.7146, allocations: 153.7 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.954e-05/0.7147, allocations: 34.62 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.7147, allocations: 20.95 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-06/0.7147, allocations: 0 / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.7149, allocations: 79.27 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.7149, allocations: 0 / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0002019/0.7151, allocations: 97.62 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.7152, allocations: 59.44 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.892e-05/0.7152, allocations: 89.86 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.7152, allocations: 29.7 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.7153, allocations: 84.14 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.7153, allocations: 15.89 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.7153, allocations: 33.66 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7155, allocations: 314.8 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.7155, allocations: 19.98 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.7156, allocations: 83.55 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.7157, allocations: 97.92 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7157, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001522/0.7159, allocations: 117.4 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7159, allocations: 10.66 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7159, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.7159, allocations: 8.219 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.753e-05/0.716, allocations: 12 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.716, allocations: 8 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.529e-05/0.7161, allocations: 11.89 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.7161, allocations: 7.938 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 8.96e-05/0.7162, allocations: 125.8 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.7162, allocations: 7.922 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.7162, allocations: 3.969 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7162, allocations: 4 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7162, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.7162, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.7164, allocations: 157.6 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7164, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-06/0.7164, allocations: 7.938 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.7164, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.7164, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.7164, allocations: 3.984 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7164, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.7165, allocations: 109.1 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.7166, allocations: 84.98 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.7166, allocations: 7.984 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.174e-05/0.7166, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.7166, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.7167, allocations: 4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.7167, allocations: 75.28 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.7167, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002343/0.7169, allocations: 28.03 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004418/0.7174, allocations: 0.6747 MB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.7175, allocations: 56.33 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7175, allocations: 4.062 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.7176, allocations: 19.97 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.7177, allocations: 4 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.7181, allocations: 148.2 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.7183, allocations: 0.6768 MB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.107e-05/0.7183, allocations: 7.984 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.7184, allocations: 7.438 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.7184, allocations: 4.062 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.7363, allocations: 1.599 MB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/8.051, allocations: 16.83 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.csv --start-time 3.5 --stop-time 5.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches