Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001609/0.001609, allocations: 107 kB / 16.36 MB, free: 6.336 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.001899/0.001899, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 65.05 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2654, allocations: 140.4 MB / 0.9512 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002577/0.268, allocations: 1.248 MB / 0.9524 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009318/0.269, allocations: 488.9 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.269, allocations: 0 / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.2691, allocations: 4 kB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.2692, allocations: 7.984 kB / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.2695, allocations: 51.81 kB / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.2696, allocations: 19.91 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.2697, allocations: 0 / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.527e-05/0.2697, allocations: 8 kB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.514e-05/0.2697, allocations: 0 / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.2698, allocations: 4 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.2699, allocations: 67.84 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.27, allocations: 8 kB / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.2701, allocations: 15.91 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.2702, allocations: 63.86 kB / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2702, allocations: 0 / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.308e-06/0.2702, allocations: 0 / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2702, allocations: 3.938 kB / 0.9531 GB, free: 6.047 MB / 0.7325 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.0004758/0.2707, allocations: 339.4 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2708, allocations: 8.031 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.2708, allocations: 4.922 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.605e-05/0.2709, allocations: 164.4 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.2709, allocations: 4.375 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.271, allocations: 8.375 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.2711, allocations: 50 kB / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2711, allocations: 0 / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.2711, allocations: 0 / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2711, allocations: 3.938 kB / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.358e-05/0.2712, allocations: 19.92 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.2713, allocations: 149.7 kB / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.146e-05/0.2714, allocations: 34.62 kB / 0.9538 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.2714, allocations: 16.95 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.2714, allocations: 0 / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.2715, allocations: 83.17 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2715, allocations: 0 / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002163/0.2718, allocations: 93.67 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.2718, allocations: 59.44 kB / 0.9541 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.329e-05/0.2719, allocations: 89.86 kB / 0.9542 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2719, allocations: 33.69 kB / 0.9542 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.2719, allocations: 84.14 kB / 0.9543 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.272, allocations: 19.73 kB / 0.9543 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.272, allocations: 29.72 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2721, allocations: 314.8 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/0.2722, allocations: 19.98 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.2723, allocations: 73.94 kB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.2724, allocations: 97.92 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2724, allocations: 0 / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001631/0.2726, allocations: 113.5 kB / 0.9549 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2726, allocations: 15.88 kB / 0.9549 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2726, allocations: 224 / 0.9549 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2726, allocations: 8 kB / 0.9549 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.2727, allocations: 8 kB / 0.9549 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2727, allocations: 8.172 kB / 0.955 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.454e-05/0.2728, allocations: 7.906 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.2728, allocations: 4 kB / 0.955 GB, free: 3.855 MB / 0.7325 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.653e-05/0.2729, allocations: 132.8 kB / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.2729, allocations: 3.938 kB / 0.9551 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.2729, allocations: 7.969 kB / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2729, allocations: 0 / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2729, allocations: 0 / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2729, allocations: 0 / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.2731, allocations: 157.6 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2731, allocations: 0 / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-06/0.2731, allocations: 4 kB / 0.9553 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2731, allocations: 3.938 kB / 0.9553 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.2731, allocations: 3.984 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2731, allocations: 3.984 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2731, allocations: 0 / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.2733, allocations: 117 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.2733, allocations: 88.97 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.2733, allocations: 4 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.2733, allocations: 0 / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.2734, allocations: 0 / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.2734, allocations: 4 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.2734, allocations: 75.28 kB / 0.9555 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2734, allocations: 32 / 0.9555 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002419/0.2737, allocations: 32 kB / 0.9556 GB, free: 3.133 MB / 0.7325 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.000187/0.2739, allocations: 123.2 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.274, allocations: 55.91 kB / 0.9557 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.274, allocations: 4 kB / 0.9557 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.274, allocations: 20.38 kB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.2742, allocations: 64 / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.2745, allocations: 114.8 kB / 0.9559 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.2747, allocations: 0.6844 MB / 0.9565 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.2748, allocations: 7.984 kB / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.2748, allocations: 7.438 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of SimCode: time 1.643e-06/0.2748, allocations: 0 / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of Templates: time 0.002849/0.2776, allocations: 0.668 MB / 0.9572 GB, free: 1.438 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches