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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008841/0.000884, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.006687/0.006687, allocations: 175.8 kB / 16.27 MB, free: 6.613 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437.8 MB / 0.7121 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003689, allocations: 11.98 kB / 0.873 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6053/0.6057, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001254/0.607, allocations: 0.9769 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008167/0.6078, allocations: 482.9 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.284e-05/0.6079, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.6079, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.262e-05/0.608, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.6082, allocations: 47.88 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.6083, allocations: 19.98 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.6084, allocations: 7.984 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.6084, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.6084, allocations: 11.98 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.674e-06/0.6084, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.6086, allocations: 67.86 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.6087, allocations: 7.984 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.6087, allocations: 41.62 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.6089, allocations: 71.77 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6089, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6089, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.6089, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 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.0003056/0.6092, allocations: 333.8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.6092, allocations: 12.03 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.6093, allocations: 30.75 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.16e-05/0.6093, allocations: 0.9375 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.566e-05/0.6094, allocations: 176.2 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.6094, allocations: 4.375 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.6094, allocations: 8.375 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.6095, allocations: 45.81 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.6096, allocations: 0 / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.6096, allocations: 0 / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.6096, allocations: 0 / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.759e-05/0.6096, allocations: 12 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.6097, allocations: 153.7 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.009e-05/0.6098, allocations: 42.56 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.6098, allocations: 16.95 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.6098, allocations: 4 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.61, allocations: 75.23 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.61, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0001976/0.6102, allocations: 101.6 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.6103, allocations: 55.41 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.216e-05/0.6103, allocations: 93.89 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.6103, allocations: 33.7 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.6103, allocations: 80.14 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.6104, allocations: 19.8 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.6104, allocations: 17.72 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.6105, allocations: 318.8 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.989e-05/0.6106, allocations: 23.98 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.6106, allocations: 66 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.6107, allocations: 101.9 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6107, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001558/0.6109, allocations: 113.5 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.6109, allocations: 11.98 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.6109, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.611, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.611, allocations: 12.16 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6111, allocations: 8 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/0.6111, allocations: 11.84 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.6111, allocations: 4 kB / 1.027 GB, free: 11.89 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 0.000103/0.6112, allocations: 127.5 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.6112, allocations: 3.938 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.6113, allocations: 7.969 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6113, allocations: 3.938 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6113, allocations: 11.98 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.6113, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.6114, allocations: 153.7 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6114, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-06/0.6114, allocations: 7.938 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6114, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.6114, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6115, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6115, allocations: 3.984 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.6116, allocations: 109 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.6116, allocations: 81.05 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.6116, allocations: 7.984 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.6117, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.6117, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.6117, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.439e-05/0.6117, allocations: 75.28 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.353e-06/0.6117, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002274/0.612, allocations: 31.88 kB / 1.027 GB, free: 11.18 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.0004518/0.6124, allocations: 0.6718 MB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.6126, allocations: 59.91 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6126, allocations: 480 / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/0.6126, allocations: 31.91 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.6127, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.6131, allocations: 152.8 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.6133, allocations: 0.6809 MB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.6133, allocations: 7.984 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.6134, allocations: 7.438 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of SimCode: time 6.71e-07/0.6134, allocations: 64 / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03962/0.653, allocations: 1.386 MB / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/0.6533, allocations: 290.3 kB / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.388, allocations: 0 / 1.031 GB, free: 7.934 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