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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.308/2.308, allocations: 390.3 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.5671, allocations: 140.4 MB / 0.9498 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002528/0.5697, allocations: 1.238 MB / 0.951 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.5706, allocations: 493.4 kB / 0.9514 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.5706, allocations: 0.8125 kB / 0.9514 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.5707, allocations: 3.984 kB / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.998e-05/0.5707, allocations: 1.125 kB / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.5711, allocations: 52.66 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.065e-05/0.5712, allocations: 18.73 kB / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.5712, allocations: 5.344 kB / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.83e-05/0.5712, allocations: 6.859 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.615e-05/0.5713, allocations: 4.188 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.5713, allocations: 0 / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.5714, allocations: 69.28 kB / 0.9516 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.5715, allocations: 5.625 kB / 0.9516 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.5716, allocations: 15.61 kB / 0.9516 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.5717, allocations: 50.77 kB / 0.9517 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5717, allocations: 0 / 0.9517 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5717, allocations: 0 / 0.9517 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.5717, allocations: 7.938 kB / 0.9517 GB, free: 7.695 MB / 0.7169 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.0002393/0.572, allocations: 344.2 kB / 0.952 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.572, allocations: 9.25 kB / 0.952 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.155e-05/0.572, allocations: 39.92 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.001e-05/0.572, allocations: 2.062 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.496e-05/0.5721, allocations: 165.4 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5721, allocations: 1.312 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.5721, allocations: 2.75 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.5722, allocations: 52.53 kB / 0.9523 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.5722, allocations: 4 kB / 0.9523 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.5722, allocations: 0 / 0.9523 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.5722, allocations: 1.25 kB / 0.9523 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.5723, allocations: 15.42 kB / 0.9523 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.424e-05/0.5724, allocations: 160.6 kB / 0.9524 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.939e-05/0.5724, allocations: 28.14 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.5724, allocations: 16.67 kB / 0.9525 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-06/0.5724, allocations: 0 / 0.9525 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.5726, allocations: 78.28 kB / 0.9525 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.5726, allocations: 0 / 0.9525 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0001653/0.5727, allocations: 99.95 kB / 0.9526 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.5728, allocations: 55.34 kB / 0.9527 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.724e-05/0.5728, allocations: 99.09 kB / 0.9528 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.5728, allocations: 28.2 kB / 0.9528 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.206e-05/0.5728, allocations: 88.17 kB / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.5729, allocations: 11.78 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.5729, allocations: 34.67 kB / 0.9529 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.5729, allocations: 317.5 kB / 0.9532 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/0.573, allocations: 20.67 kB / 0.9533 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/0.573, allocations: 74.33 kB / 0.9533 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.116e-05/0.5731, allocations: 98.03 kB / 0.9534 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5731, allocations: 5.562 kB / 0.9534 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001328/0.5733, allocations: 114.3 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.5733, allocations: 5.625 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5733, allocations: 1.125 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5733, allocations: 2.875 kB / 0.9536 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.5734, allocations: 17.56 kB / 0.9536 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5734, allocations: 6.234 kB / 0.9536 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.5734, allocations: 15.5 kB / 0.9536 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.5735, allocations: 8.188 kB / 0.9536 GB, free: 5.742 MB / 0.7169 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 6.402e-05/0.5735, allocations: 126.8 kB / 0.9537 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.5735, allocations: 3.938 kB / 0.9537 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.58e-05/0.5736, allocations: 9.172 kB / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5736, allocations: 0 / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.5736, allocations: 1.312 kB / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.5736, allocations: 0 / 0.9537 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.811e-05/0.5737, allocations: 149.2 kB / 0.9539 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5737, allocations: 7.984 kB / 0.9539 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-06/0.5737, allocations: 5.375 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.5737, allocations: 0 / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.5737, allocations: 1.031 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5737, allocations: 1.219 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5737, allocations: 0 / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.826e-05/0.5738, allocations: 108.8 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.5738, allocations: 86.3 kB / 0.9541 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.5738, allocations: 6.719 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.5739, allocations: 1.656 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.5739, allocations: 3.938 kB / 0.9541 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5739, allocations: 7.031 kB / 0.9541 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.04e-05/0.5739, allocations: 75.28 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5739, allocations: 1.094 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002096/0.5741, allocations: 26.05 kB / 0.9542 GB, free: 5.117 MB / 0.7169 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.0002867/0.5744, allocations: 0.6699 MB / 0.9548 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.984e-05/0.5745, allocations: 60.38 kB / 0.9549 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5745, allocations: 0 / 0.9549 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.5746, allocations: 23.31 kB / 0.9549 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.5747, allocations: 3.906 kB / 0.9549 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.575, allocations: 157.4 kB / 0.9551 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.461e-05/0.5751, allocations: 0.6832 MB / 0.9557 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.963e-05/0.5751, allocations: 3.125 kB / 0.9557 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.5751, allocations: 14.12 kB / 0.9558 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5751, allocations: 0 / 0.9558 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.793/1.368, allocations: 1.567 MB / 0.9573 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/8.838, allocations: 11.78 kB / 0.9573 GB, free: 2.773 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > 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