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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: 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_latest_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_latest_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.00149/0.00149, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001523/0.001523, allocations: 183 kB / 17.34 MB, free: 5.766 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9928/0.9942, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002981/0.9972, allocations: 1.245 MB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.9984, allocations: 486.8 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.9984, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.9985, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.145e-05/0.9986, allocations: 11.88 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.999, allocations: 47.88 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.245e-05/0.9991, allocations: 15.97 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.647e-05/0.9992, allocations: 4 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.079e-05/0.9992, allocations: 4 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.9993, allocations: 7.984 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.9993, allocations: 4 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.9995, allocations: 63.86 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.9996, allocations: 15.91 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.9996, allocations: 7.938 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.9998, allocations: 63.91 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.9998, allocations: 3.938 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9998, allocations: 0 / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.9998, allocations: 0 / 1.21 GB, free: 11.63 MB / 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.0004457/1, allocations: 339.4 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1, allocations: 8.031 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/1, allocations: 4.844 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/1.001, allocations: 160.4 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/1.001, allocations: 8.375 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/1.001, allocations: 384 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/1.001, allocations: 61.92 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/1.001, allocations: 0 / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/1.001, allocations: 0 / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/1.001, allocations: 0 / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/1.001, allocations: 12 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/1.001, allocations: 153.7 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.57e-05/1.001, allocations: 26.64 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/1.001, allocations: 24.94 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/1.001, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/1.001, allocations: 75.28 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/1.001, allocations: 4 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002505/1.002, allocations: 101.6 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.002, allocations: 59.39 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.71e-05/1.002, allocations: 89.86 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/1.002, allocations: 29.7 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/1.002, allocations: 92.08 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/1.002, allocations: 13.64 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/1.002, allocations: 33.7 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.002, allocations: 314.9 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/1.002, allocations: 19.98 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/1.002, allocations: 77.17 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/1.002, allocations: 93.94 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.002, allocations: 0 / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001914/1.002, allocations: 129.5 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.003, allocations: 11.94 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.003, allocations: 0 / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/1.003, allocations: 7.938 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.828e-05/1.003, allocations: 11.98 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/1.003, allocations: 4 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/1.003, allocations: 7.938 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/1.003, allocations: 4 kB / 1.212 GB, free: 9.434 MB / 0.9356 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.0001255/1.003, allocations: 129.9 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/1.003, allocations: 3.938 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/1.003, allocations: 7.969 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/1.003, allocations: 0 / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.003, allocations: 4 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.003, allocations: 0 / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/1.003, allocations: 153.6 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.003, allocations: 0 / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-06/1.003, allocations: 4 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/1.003, allocations: 3.938 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/1.003, allocations: 4 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.003, allocations: 0 / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.003, allocations: 0 / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/1.003, allocations: 109 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/1.003, allocations: 81.05 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/1.003, allocations: 4 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.331e-05/1.003, allocations: 0 / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/1.003, allocations: 3.984 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/1.003, allocations: 8.031 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.146e-05/1.003, allocations: 75.28 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.003, allocations: 0 / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000254/1.004, allocations: 31.94 kB / 1.213 GB, free: 8.719 MB / 0.9356 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.0002459/1.004, allocations: 123.2 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001525/1.004, allocations: 64.27 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.004, allocations: 4.062 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/1.004, allocations: 19.94 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/1.004, allocations: 0 / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/1.005, allocations: 155.1 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/1.005, allocations: 0.6791 MB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/1.005, allocations: 15.44 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/1.005, allocations: 3.938 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of Templates: time 0.002848/1.008, allocations: 0.8192 MB / 1.215 GB, free: 6.785 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/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) "" Variables in the reference:time,QAggShi_flow[3],QAggShi_flow[4] Variables in the result:QAggShi_flow[3],QAggShi_flow[4],time