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.001725/0.001725, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002478/0.002479, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.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.502/2.502, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 63.91 kB / 0.8694 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6638/0.6663, allocations: 151.6 MB / 1.017 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002368/0.6687, allocations: 1.245 MB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008041/0.6695, allocations: 490.7 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.6695, allocations: 0 / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.6696, allocations: 0 / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.353e-05/0.6696, allocations: 7.984 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.6699, allocations: 51.81 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.538e-05/0.67, allocations: 11.98 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.6701, allocations: 4 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.6701, allocations: 8 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.337e-05/0.6701, allocations: 11.91 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.6701, allocations: 4 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.6703, allocations: 63.86 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.6703, allocations: 7.984 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.6704, allocations: 7.938 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.6705, allocations: 67.84 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6705, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6705, allocations: 3.938 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.6706, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 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.0003488/0.6709, allocations: 343.5 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.6709, allocations: 8.031 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.998e-05/0.671, allocations: 30.75 kB / 1.02 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.671, allocations: 4.938 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.182e-05/0.6711, allocations: 168.3 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.6711, allocations: 384 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.6712, allocations: 8.359 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.6713, allocations: 49.81 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.6713, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.6713, allocations: 4 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.6713, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.723e-05/0.6713, allocations: 11.94 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.6715, allocations: 153.7 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.358e-05/0.6715, allocations: 34.62 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.6716, allocations: 20.95 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-06/0.6716, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.6717, allocations: 79.22 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/0.6717, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002388/0.672, allocations: 97.61 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.672, allocations: 59.39 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.921e-05/0.6721, allocations: 93.86 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.6721, allocations: 29.7 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.6722, allocations: 80.14 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.6722, allocations: 23.83 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.6722, allocations: 25.72 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6724, allocations: 322.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.6724, allocations: 23.92 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.6725, allocations: 72.81 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.6726, allocations: 97.92 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6726, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001563/0.6728, allocations: 117.5 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.6728, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6728, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6728, allocations: 3.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.6729, allocations: 19.92 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.6729, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.673, allocations: 11.84 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.673, allocations: 12.22 kB / 1.021 GB, free: 14.18 MB / 0.7794 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.826e-05/0.6731, allocations: 130.9 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.6731, allocations: 3.938 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.035e-05/0.6731, allocations: 3.969 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.6731, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6731, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6731, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.6732, allocations: 149.7 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6732, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-06/0.6733, allocations: 7.938 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.6733, allocations: 3.984 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.6733, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6733, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6733, allocations: 4 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.6734, allocations: 109 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.6735, allocations: 81.05 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.6735, allocations: 7.984 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.345e-05/0.6735, allocations: 8.031 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.6736, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.6736, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.572e-05/0.6736, allocations: 75.28 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6736, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002231/0.6738, allocations: 27.94 kB / 1.022 GB, free: 13.48 MB / 0.7794 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.000451/0.6743, allocations: 0.671 MB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.6744, allocations: 63.78 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6744, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.6745, allocations: 16 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.6746, allocations: 4.641 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.675, allocations: 151.8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.6753, allocations: 0.6807 MB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.6753, allocations: 7.906 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.6753, allocations: 15.42 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6753, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.6915, allocations: 1.573 MB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.975, allocations: 4.828 kB / 1.025 GB, free: 10.38 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 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.mat","/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