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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001404/0.001404, allocations: 106.8 kB / 16.41 MB, free: 6.508 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.001338/0.001338, allocations: 187 kB / 17.34 MB, free: 5.742 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9253/0.9267, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.003101/0.9299, allocations: 1.243 MB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.931, allocations: 493.5 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.9311, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.9311, allocations: 1.375 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.772e-05/0.9312, allocations: 0.6562 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.9317, allocations: 49.75 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.606e-05/0.9318, allocations: 17.98 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.186e-05/0.9318, allocations: 2.016 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.697e-05/0.9319, allocations: 8.344 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.9319, allocations: 7.812 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.9319, allocations: 0 / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.9322, allocations: 71.84 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.9322, allocations: 7.297 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.9323, allocations: 14 kB / 1.091 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.9325, allocations: 51.31 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.9325, allocations: 1.312 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.835e-06/0.9325, allocations: 0 / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.9325, allocations: 7.938 kB / 1.091 GB, free: 4.227 MB / 0.8575 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.0004053/0.9329, allocations: 334.2 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.933, allocations: 10.77 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.933, allocations: 6.281 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.007e-05/0.9331, allocations: 161.7 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.9331, allocations: 1.594 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.9331, allocations: 2.344 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.9333, allocations: 54.42 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.9333, allocations: 4 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.9333, allocations: 0 / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.9333, allocations: 5.062 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.9334, allocations: 12.3 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.9335, allocations: 161 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.798e-05/0.9336, allocations: 32.78 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.9337, allocations: 27.48 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.9337, allocations: 0 / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.9339, allocations: 76.48 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.9339, allocations: 0 / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003137/0.9342, allocations: 94.47 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.9343, allocations: 57.14 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.808e-05/0.9343, allocations: 95.45 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.9344, allocations: 30.31 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.9344, allocations: 80.14 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.9344, allocations: 22.3 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.9345, allocations: 30.03 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.9346, allocations: 318.2 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.9347, allocations: 25.77 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-05/0.9347, allocations: 64.12 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.9349, allocations: 100.4 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9349, allocations: 1.094 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002211/0.9351, allocations: 113.5 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.9352, allocations: 11.31 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9352, allocations: 2.219 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.9352, allocations: 2.188 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.9354, allocations: 15.02 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.9354, allocations: 3.391 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.9354, allocations: 10.47 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.9355, allocations: 12.75 kB / 1.092 GB, free: 2.398 MB / 0.8575 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.0001163/0.9356, allocations: 124.2 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.9356, allocations: 5.5 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.9356, allocations: 4.766 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.9356, allocations: 0.8438 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.9357, allocations: 0.6875 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.9357, allocations: 0.7969 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.9358, allocations: 152.2 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.9358, allocations: 4.562 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-06/0.9358, allocations: 4.594 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.9358, allocations: 5.516 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.9358, allocations: 1.422 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.9358, allocations: 0.7812 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.9358, allocations: 0 / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.936, allocations: 110.1 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.936, allocations: 83.41 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.936, allocations: 12.83 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.936, allocations: 0.7188 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.9361, allocations: 5.391 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.9361, allocations: 3.609 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.376e-05/0.9361, allocations: 75.28 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.9361, allocations: 4.938 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002887/0.9364, allocations: 22.73 kB / 1.093 GB, free: 1.789 MB / 0.8575 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.0002156/0.9366, allocations: 129.5 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.9368, allocations: 54.47 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9368, allocations: 0.7812 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.683e-05/0.9368, allocations: 16.45 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.937, allocations: 2.297 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.9373, allocations: 147 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.9374, allocations: 0.6848 MB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.9374, allocations: 15 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.9374, allocations: 0 / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of Templates: time 0.002768/0.9402, allocations: 0.8196 MB / 1.095 GB, free: 0.7734 MB / 0.8575 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 -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) "" Variables in the reference:time,QAggShi_flow[3],QAggShi_flow[4] Variables in the result:QAggShi_flow[3],QAggShi_flow[4],time