Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ShiftAggregationCells,fileNamePrefix="Buildings_latest_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_latest_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.004823/0.004823, allocations: 102.3 kB / 15.73 MB, free: 6.023 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.001196/0.001196, allocations: 195.5 kB / 16.67 MB, free: 5.938 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.337/1.337, 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 11.1.0-master/package.mo): time 2.527/2.527, allocations: 469.4 MB / 0.7422 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 1.064 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.715/0.7163, allocations: 159.1 MB / 1.22 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002351/0.7187, allocations: 1.241 MB / 1.221 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.7196, allocations: 494.7 kB / 1.221 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.7197, allocations: 0 / 1.221 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.7197, allocations: 0 / 1.221 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.7198, allocations: 7.984 kB / 1.221 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.7201, allocations: 43.88 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.759e-05/0.7202, allocations: 8 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.7202, allocations: 7.922 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.448e-05/0.7203, allocations: 7.984 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.7203, allocations: 8 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.7203, allocations: 4 kB / 1.222 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.7205, allocations: 71.84 kB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.7206, allocations: 8 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.7206, allocations: 11.92 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.7208, allocations: 62.52 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7208, allocations: 0 / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7208, allocations: 0 / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.7208, allocations: 4 kB / 1.222 GB, free: 312 kB / 0.9356 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.0003757/0.7212, allocations: 336.4 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.7212, allocations: 12.62 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.7213, allocations: 38.73 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.7213, allocations: 0.9375 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.645e-05/0.7214, allocations: 164.3 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.7214, allocations: 12.31 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.7214, allocations: 384 / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.7216, allocations: 53.81 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.7216, allocations: 0 / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.7216, allocations: 0 / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.7216, allocations: 0 / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.7216, allocations: 15.98 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.7218, allocations: 161.6 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.079e-05/0.7218, allocations: 30.58 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.7219, allocations: 20.95 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-06/0.7219, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.7221, allocations: 75.33 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.7221, allocations: 4 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002086/0.7223, allocations: 93.61 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.7223, allocations: 55.41 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.597e-05/0.7224, allocations: 93.86 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.7224, allocations: 33.69 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.7224, allocations: 80.14 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.7225, allocations: 15.91 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.7225, allocations: 33.7 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7226, allocations: 314.9 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/0.7227, allocations: 23.98 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-05/0.7228, allocations: 73.91 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.7229, allocations: 97.88 kB / 1.223 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7229, allocations: 0 / 1.223 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001722/0.7231, allocations: 125.6 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.7231, allocations: 8 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.7231, allocations: 0 / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.7231, allocations: 4 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/0.7232, allocations: 11.94 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.7232, allocations: 8.219 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.7233, allocations: 3.938 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.7233, allocations: 11.98 kB / 1.224 GB, free: 14.06 MB / 0.9512 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 9.228e-05/0.7234, allocations: 122.4 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.7234, allocations: 3.938 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.7235, allocations: 7.969 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.7235, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.7235, allocations: 3.984 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7235, allocations: 0 / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.7236, allocations: 149.6 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.7236, allocations: 0 / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-06/0.7236, allocations: 11.86 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.7236, allocations: 7.938 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.7236, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7237, allocations: 4 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7237, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.7238, allocations: 105.1 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.7238, allocations: 84.98 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.7239, allocations: 4 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.447e-05/0.7239, allocations: 3.984 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.7239, allocations: 0 / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.7239, allocations: 12.03 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.827e-05/0.724, allocations: 80.28 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.4e-07/0.724, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002387/0.7242, allocations: 23.98 kB / 1.224 GB, free: 13.34 MB / 0.9512 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.0004656/0.7247, allocations: 0.673 MB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.7248, allocations: 67.92 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7249, allocations: 3.938 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.7249, allocations: 16 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.725, allocations: 7.938 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.7255, allocations: 158.9 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.7257, allocations: 0.6772 MB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.7257, allocations: 8 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.7258, allocations: 17.67 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/0.7258, allocations: 0 / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.7439, allocations: 1.609 MB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/8.229, allocations: 4.656 kB / 1.227 GB, free: 10.22 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches