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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QAggShi_flow.3.|QAggShi_flow.4.",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QAggShi_flow.3.|QAggShi_flow.4.",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009038/0.0009039, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001096/0.001096, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.3 MB / 240 MB, free: 5.289 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.585/2.585, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003691, allocations: 12 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6808/0.6812, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001237/0.6825, allocations: 0.9728 MB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007317/0.6832, allocations: 459.3 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.6833, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.6833, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.6834, allocations: 4 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.6836, allocations: 39.89 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.6837, allocations: 11.98 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.6838, allocations: 3.984 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.6838, allocations: 11.98 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.6838, allocations: 8 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.6839, allocations: 0 / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.684, allocations: 43.89 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.684, allocations: 7.984 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.6841, allocations: 29.7 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.6842, allocations: 43.94 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6842, allocations: 0 / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6842, allocations: 0 / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.6842, allocations: 3.938 kB / 1.024 GB, free: 14.39 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.0003433/0.6846, allocations: 333.2 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.6846, allocations: 8.562 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.6846, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.6848, allocations: 167 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.6848, allocations: 11.98 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.6848, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.6849, allocations: 57.64 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.6849, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.6849, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.6849, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/0.685, allocations: 8 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.6851, allocations: 157.6 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.423e-05/0.6852, allocations: 30.62 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.6852, allocations: 24.95 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-06/0.6852, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.6854, allocations: 71.34 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.6854, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002087/0.6856, allocations: 93.53 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.6857, allocations: 59.39 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.951e-05/0.6857, allocations: 89.86 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.6857, allocations: 37.73 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.6858, allocations: 80.14 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.6858, allocations: 23.78 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.6858, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6859, allocations: 318.8 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/0.686, allocations: 19.98 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/0.686, allocations: 69.98 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.066e-05/0.6861, allocations: 27.94 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.6861, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001525/0.6863, allocations: 113.6 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6863, allocations: 7.953 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.6863, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.006e-06/0.6863, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.6864, allocations: 19.92 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-06/0.6864, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.6865, allocations: 15.84 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.6865, allocations: 4 kB / 1.026 GB, free: 12.34 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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.297e-05/0.6866, allocations: 127.2 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.6866, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.75e-05/0.6866, allocations: 11.86 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.6866, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6866, allocations: 11.88 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.6866, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.6868, allocations: 153.7 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6868, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-06/0.6868, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6868, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.6868, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6868, allocations: 3.953 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6868, allocations: 8 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.6869, allocations: 105.1 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.687, allocations: 81.02 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.687, allocations: 4 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.135e-05/0.687, allocations: 0 / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.687, allocations: 7.938 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.6871, allocations: 8.031 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.6871, allocations: 75.28 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6871, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002211/0.6873, allocations: 27.94 kB / 1.026 GB, free: 11.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.6875, allocations: 134.7 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.6876, allocations: 52.22 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.6877, allocations: 8.125 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.767e-05/0.6877, allocations: 15.98 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.6878, allocations: 4 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/0.6881, allocations: 121.3 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.6883, allocations: 0.677 MB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.246e-05/0.6883, allocations: 11.97 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.6884, allocations: 15.5 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of SimCode: time 1.503e-06/0.6884, allocations: 0 / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of Templates: time 0.002549/0.6909, allocations: 0.6336 MB / 1.028 GB, free: 9.941 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (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 & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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