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.0009881/0.000988, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001444/0.001444, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.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.479/2.479, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.000339, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6965/0.6969, allocations: 142.4 MB / 0.9545 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001061/0.698, allocations: 0.9756 MB / 0.9554 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006667/0.6987, allocations: 464.3 kB / 0.9559 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.6987, allocations: 0 / 0.9559 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.6987, allocations: 0 / 0.9559 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.6988, allocations: 5.031 kB / 0.9559 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.699, allocations: 40.38 kB / 0.9559 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.873e-05/0.6991, allocations: 16.55 kB / 0.9559 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.6992, allocations: 4 kB / 0.9559 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.6992, allocations: 5.062 kB / 0.9559 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.609e-05/0.6992, allocations: 13.59 kB / 0.9559 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.475e-06/0.6992, allocations: 1 kB / 0.956 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.6994, allocations: 43.33 kB / 0.956 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.6994, allocations: 13.58 kB / 0.956 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.6994, allocations: 28.08 kB / 0.956 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.731e-05/0.6995, allocations: 28.23 kB / 0.9561 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6995, allocations: 0.9688 kB / 0.9561 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6995, allocations: 0 / 0.9561 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6996, allocations: 0 / 0.9561 GB, free: 6.523 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.0002277/0.6998, allocations: 339.3 kB / 0.9564 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.6998, allocations: 9.625 kB / 0.9564 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.6999, allocations: 5.078 kB / 0.9564 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.758e-05/0.6999, allocations: 164 kB / 0.9566 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.6999, allocations: 1.031 kB / 0.9566 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.6999, allocations: 6.156 kB / 0.9566 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.727e-05/0.7, allocations: 56.02 kB / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.7001, allocations: 0 / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.7001, allocations: 9.203 kB / 0.9566 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.7001, allocations: 0 / 0.9566 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.74e-05/0.7001, allocations: 15.58 kB / 0.9566 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.502e-05/0.7002, allocations: 153.3 kB / 0.9568 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.643e-05/0.7003, allocations: 26.86 kB / 0.9568 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.7003, allocations: 22.12 kB / 0.9568 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.7003, allocations: 3.938 kB / 0.9568 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.7004, allocations: 69.62 kB / 0.9569 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.7004, allocations: 0 / 0.9569 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0001921/0.7006, allocations: 95.19 kB / 0.957 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.7007, allocations: 59.44 kB / 0.957 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.88e-05/0.7007, allocations: 94.78 kB / 0.9571 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.7007, allocations: 32.77 kB / 0.9572 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.571e-05/0.7007, allocations: 84.09 kB / 0.9572 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.7008, allocations: 19.75 kB / 0.9573 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.7008, allocations: 4.031 kB / 0.9573 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.966e-05/0.7008, allocations: 320.9 kB / 0.9576 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.626e-05/0.7008, allocations: 19.92 kB / 0.9576 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.7009, allocations: 63.59 kB / 0.9577 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.609e-05/0.701, allocations: 29.33 kB / 0.9577 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.701, allocations: 3.938 kB / 0.9577 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001469/0.7011, allocations: 118.8 kB / 0.9578 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.7012, allocations: 5.75 kB / 0.9578 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.7012, allocations: 5.781 kB / 0.9578 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7012, allocations: 6.812 kB / 0.9578 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.7013, allocations: 9.719 kB / 0.9578 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7013, allocations: 6.266 kB / 0.9578 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.7013, allocations: 10 kB / 0.9578 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.7013, allocations: 13.33 kB / 0.9579 GB, free: 4.707 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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/0.7014, allocations: 122.3 kB / 0.958 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.7014, allocations: 1.375 kB / 0.958 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.7015, allocations: 7.969 kB / 0.958 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.7015, allocations: 1.312 kB / 0.958 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7015, allocations: 3.984 kB / 0.958 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.7015, allocations: 5.219 kB / 0.958 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.21e-05/0.7016, allocations: 148.3 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7016, allocations: 1.031 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-06/0.7016, allocations: 3.984 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.7016, allocations: 1.312 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.7016, allocations: 1.312 kB / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7016, allocations: 0 / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7016, allocations: 0 / 0.9581 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.7017, allocations: 118.3 kB / 0.9583 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.7017, allocations: 82.11 kB / 0.9583 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.7018, allocations: 3.781 kB / 0.9583 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.2e-05/0.7018, allocations: 1.156 kB / 0.9583 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.7018, allocations: 5.5 kB / 0.9583 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.7018, allocations: 2.344 kB / 0.9583 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.38e-05/0.7018, allocations: 79.31 kB / 0.9584 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7018, allocations: 4.031 kB / 0.9584 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002333/0.7021, allocations: 27.14 kB / 0.9585 GB, free: 4.082 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.7023, allocations: 125.2 kB / 0.9586 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.7024, allocations: 55.2 kB / 0.9586 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7024, allocations: 0 / 0.9586 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.839e-05/0.7024, allocations: 24.39 kB / 0.9586 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.7026, allocations: 9.516 kB / 0.9587 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.7028, allocations: 112.1 kB / 0.9588 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.571e-05/0.7029, allocations: 0.6801 MB / 0.9594 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.7029, allocations: 3.062 kB / 0.9594 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.315e-05/0.7029, allocations: 13.69 kB / 0.9594 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7029, allocations: 3.938 kB / 0.9594 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of Templates: time 0.002594/0.7055, allocations: 0.6362 MB / 0.9601 GB, free: 2.816 MB / 0.7169 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/jenkins/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