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: 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.007032/0.007032, allocations: 99.14 kB / 15.73 MB, free: 6.062 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.001526/0.001526, allocations: 192 kB / 16.67 MB, free: 5.969 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.473/2.473, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.84 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8124, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002635/0.8151, allocations: 1.253 MB / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.816, allocations: 489.3 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.8161, allocations: 0 / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.8161, allocations: 0 / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.8162, allocations: 3.984 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.8166, allocations: 55.86 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.651e-05/0.8166, allocations: 11.94 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.8167, allocations: 8 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/0.8167, allocations: 3.984 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.684e-05/0.8168, allocations: 7.984 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.8168, allocations: 0 / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.817, allocations: 67.86 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.817, allocations: 11.92 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.8171, allocations: 8 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.8172, allocations: 60.83 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8172, allocations: 0 / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8172, allocations: 0 / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.8173, allocations: 0 / 1.169 GB, free: 1.875 MB / 0.8887 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.0003717/0.8176, allocations: 339 kB / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8177, allocations: 12.92 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.8177, allocations: 0.9375 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.78e-05/0.8178, allocations: 172.3 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.8178, allocations: 4.375 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.8179, allocations: 384 / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.818, allocations: 57.98 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.818, allocations: 0 / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.818, allocations: 7.938 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.818, allocations: 0 / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.942e-05/0.8181, allocations: 8 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.8182, allocations: 153.7 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.018e-05/0.8183, allocations: 34.58 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.8183, allocations: 24.94 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.8183, allocations: 0 / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.8185, allocations: 75.33 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.8185, allocations: 0 / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0002209/0.8187, allocations: 97.56 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.8188, allocations: 59.39 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.8188, allocations: 97.8 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.8189, allocations: 29.7 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.8189, allocations: 80.14 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.8189, allocations: 19.89 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.819, allocations: 33.75 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8191, allocations: 318.8 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/0.8191, allocations: 23.98 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.8192, allocations: 71.75 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.8194, allocations: 101.9 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8194, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001529/0.8195, allocations: 109.5 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8196, allocations: 11.94 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8196, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.8196, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.8197, allocations: 15.92 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.8197, allocations: 4 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.8197, allocations: 7.891 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.8197, allocations: 12 kB / 1.17 GB, free: 15.67 MB / 0.9044 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.134e-05/0.8198, allocations: 126 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.8199, allocations: 3.938 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.8199, allocations: 3.969 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.8199, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.8199, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.8199, allocations: 7.922 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.82, allocations: 153.6 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.82, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-06/0.8201, allocations: 4 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.8201, allocations: 7.938 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.8201, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.8201, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8201, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.8202, allocations: 109 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.8203, allocations: 81.05 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.8203, allocations: 4 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.703e-05/0.8203, allocations: 8.016 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.8203, allocations: 4 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.8204, allocations: 7.938 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.8204, allocations: 75.28 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8204, allocations: 0 / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002415/0.8206, allocations: 23.94 kB / 1.171 GB, free: 14.96 MB / 0.9044 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.0001935/0.8208, allocations: 131.1 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.821, allocations: 63.91 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.821, allocations: 0 / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-05/0.821, allocations: 19.98 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.8212, allocations: 0 / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.8215, allocations: 113.5 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.8217, allocations: 0.6768 MB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.8217, allocations: 4.5 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.8218, allocations: 15.44 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of SimCode: time 1.613e-06/0.8218, allocations: 0 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.002882/0.8247, allocations: 0.6731 MB / 1.173 GB, free: 13.26 MB / 0.9044 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