Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nu_error|rCel_error",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001862/0.001862, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.605/1.605, 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.245/2.245, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.89 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8054/0.8067, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002236/0.809, allocations: 1.293 MB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007363/0.8097, allocations: 450.2 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.8098, allocations: 0 / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.341e-05/0.8099, allocations: 5.109 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.823e-05/0.81, allocations: 7.875 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.8102, allocations: 35 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.8103, allocations: 30.45 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.8104, allocations: 6.797 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.291e-05/0.8104, allocations: 7.609 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.8105, allocations: 18.61 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.046e-06/0.8105, allocations: 1.062 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.8107, allocations: 40.61 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.8107, allocations: 10.92 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.8108, allocations: 20.05 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.8109, allocations: 56.88 kB / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.8109, allocations: 0 / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8109, allocations: 0 / 1.091 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.8109, allocations: 1.156 kB / 1.091 GB, free: 4.211 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003119/0.8112, allocations: 354.4 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.8113, allocations: 13.75 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.8113, allocations: 6.5 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.8114, allocations: 170.7 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-06/0.8114, allocations: 384 / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.8115, allocations: 3.078 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.8116, allocations: 49.91 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.8116, allocations: 4 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.8116, allocations: 1.094 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.8116, allocations: 0 / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.8116, allocations: 9.406 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.8118, allocations: 172 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.381e-05/0.8118, allocations: 35.02 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.8119, allocations: 30.67 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.8119, allocations: 1.094 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.8119, allocations: 35.86 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.8119, allocations: 0 / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001222/0.812, allocations: 54.59 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.8121, allocations: 82.42 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.8121, allocations: 138.1 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.8122, allocations: 25.7 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.155e-05/0.8122, allocations: 84.08 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.8122, allocations: 9.641 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.8123, allocations: 30.27 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.8123, allocations: 314 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.8124, allocations: 31.28 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.8124, allocations: 32.3 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.274e-05/0.8125, allocations: 42.08 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8125, allocations: 3.938 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001293/0.8126, allocations: 96.95 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.8126, allocations: 12.89 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.8127, allocations: 1.25 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.8127, allocations: 0.7969 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.672e-05/0.8127, allocations: 2.438 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.8127, allocations: 2.047 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.8128, allocations: 14.19 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.8128, allocations: 5.094 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.789e-05/0.8128, allocations: 116.8 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.8129, allocations: 5.031 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.8129, allocations: 9.328 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8129, allocations: 1.125 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8129, allocations: 0.5156 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.8129, allocations: 1.094 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.044e-05/0.813, allocations: 162.8 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.813, allocations: 1.094 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.778e-05/0.813, allocations: 10.12 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.813, allocations: 5.5 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.813, allocations: 1.094 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.813, allocations: 1.062 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.8131, allocations: 1.531 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.844e-05/0.8131, allocations: 71.72 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.8132, allocations: 95.86 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.8132, allocations: 1.891 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.093e-05/0.8132, allocations: 1.281 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.8132, allocations: 0.5156 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.8132, allocations: 1.812 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.478e-05/0.8133, allocations: 103.5 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.002e-06/0.8133, allocations: 0 / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000212/0.8135, allocations: 19.53 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001772/0.8137, allocations: 116.6 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.8139, allocations: 86.83 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8139, allocations: 0 / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.8139, allocations: 6 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.814, allocations: 7.672 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.8143, allocations: 163.7 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.8145, allocations: 0.6893 MB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.8145, allocations: 12.34 kB / 1.094 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.8145, allocations: 0.6875 kB / 1.094 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of Templates: time 0.002397/0.8169, allocations: 0.7342 MB / 1.095 GB, free: 0.7539 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches