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.001108/0.001108, allocations: 112.9 kB / 16.42 MB, free: 6.5 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.001159/0.001159, allocations: 189.6 kB / 17.35 MB, free: 5.758 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.19 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.21/2.21, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 55.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7846/0.786, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002165/0.7882, allocations: 1.249 MB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008391/0.789, allocations: 494.5 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.7891, allocations: 5.375 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.7891, allocations: 0 / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.093e-05/0.7892, allocations: 4.516 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.7895, allocations: 51.17 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.7896, allocations: 12.62 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.7897, allocations: 1.719 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.7897, allocations: 4.797 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.377e-05/0.7897, allocations: 15.3 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.7897, allocations: 1.125 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.7899, allocations: 67.62 kB / 1.091 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.79, allocations: 15.91 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.79, allocations: 8.547 kB / 1.091 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.7902, allocations: 60.11 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7902, allocations: 0.75 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.123e-06/0.7902, allocations: 0 / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.7902, allocations: 0 / 1.091 GB, free: 4.215 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.0002821/0.7905, allocations: 339.4 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.7905, allocations: 8.375 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.7906, allocations: 2.594 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.845e-05/0.7906, allocations: 162.5 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.7906, allocations: 1.438 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.7906, allocations: 7.594 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.7907, allocations: 49.34 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.7908, allocations: 0 / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.7908, allocations: 0 / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.7908, allocations: 3.938 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.042e-05/0.7908, allocations: 21.88 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.7909, allocations: 156.6 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.219e-05/0.791, allocations: 29.42 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.791, allocations: 22.38 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.791, allocations: 0.5625 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.7911, allocations: 76.25 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.7911, allocations: 3.938 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0001914/0.7913, allocations: 86.7 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.7914, allocations: 64.94 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.117e-05/0.7914, allocations: 92.17 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.7914, allocations: 32.98 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.283e-05/0.7914, allocations: 81.36 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.7915, allocations: 18.64 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.7915, allocations: 28.52 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.7916, allocations: 319 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-05/0.7916, allocations: 24.89 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.7917, allocations: 72.94 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.7918, allocations: 96.16 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7918, allocations: 1.062 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001547/0.792, allocations: 114.1 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.792, allocations: 9.562 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.792, allocations: 2.422 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.792, allocations: 2.734 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.7921, allocations: 19.39 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7921, allocations: 6.453 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.7922, allocations: 10.97 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.7922, allocations: 4.375 kB / 1.092 GB, free: 2.391 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 7.113e-05/0.7923, allocations: 129 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.7923, allocations: 4.688 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.7923, allocations: 13.41 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7923, allocations: 0.7969 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7923, allocations: 0.7812 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.7923, allocations: 82.25 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.7924, allocations: 5.156 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.7924, allocations: 1.125 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.7924, allocations: 9.688 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001167/0.7925, allocations: 154.5 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00013/0.7927, allocations: 250.9 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.373e-05/0.7927, allocations: 15.91 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.128e-05/0.7927, allocations: 75.94 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of Backend: time 2.8e-07/0.7927, allocations: 0 / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004477/0.7932, allocations: 144.5 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002894/0.7935, allocations: 0.5568 MB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of Templates: time 0.00317/0.7967, allocations: 0.6857 MB / 1.095 GB, free: 1.004 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) Reference file matches