Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001215/0.001215, allocations: 99.42 kB / 16.02 MB, free: 76 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.001883/0.001883, allocations: 186.7 kB / 16.92 MB, free: 6.75 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.484/1.484, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.836/2.836, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004143, allocations: 10.44 kB / 0.9035 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3641, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001791/0.366, allocations: 1.014 MB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.367, allocations: 454.9 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.3671, allocations: 3.938 kB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.184e-05/0.3672, allocations: 0 / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.497e-05/0.3673, allocations: 7.969 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.3676, allocations: 27.91 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.928e-05/0.3677, allocations: 39.89 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.83e-05/0.3677, allocations: 4 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.3678, allocations: 7.938 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.3679, allocations: 15.98 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.3679, allocations: 0 / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.3681, allocations: 51.88 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.3682, allocations: 11.92 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.3683, allocations: 45.58 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.3684, allocations: 44.16 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3684, allocations: 0 / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3684, allocations: 0 / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.3684, allocations: 0 / 1.061 GB, free: 3.219 MB / 0.8106 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.0004904/0.3689, allocations: 339.5 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.407e-05/0.369, allocations: 19.97 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.369, allocations: 4.844 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.3692, allocations: 172.3 kB / 1.062 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.3693, allocations: 384 / 1.062 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.3693, allocations: 12.31 kB / 1.062 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3694, allocations: 47.67 kB / 1.062 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3694, allocations: 0 / 1.062 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3695, allocations: 3.984 kB / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3695, allocations: 4 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.327e-05/0.3695, allocations: 7.984 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.3698, allocations: 166.6 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.66e-05/0.3698, allocations: 41.09 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.3699, allocations: 25.83 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3699, allocations: 4 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.37, allocations: 34.5 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.37, allocations: 0 / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001747/0.3702, allocations: 57.53 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.3702, allocations: 77.11 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3704, allocations: 141 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3704, allocations: 33.7 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.3705, allocations: 88.03 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.3705, allocations: 7.906 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.3705, allocations: 21.7 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3707, allocations: 314.8 kB / 1.063 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.3707, allocations: 27.92 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.3708, allocations: 27.98 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.285e-05/0.3709, allocations: 48.84 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3709, allocations: 4 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001587/0.371, allocations: 87.56 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3711, allocations: 11.92 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.3711, allocations: 4 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3711, allocations: 0 / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.3712, allocations: 0 / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3712, allocations: 4 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.3712, allocations: 7.844 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.3712, allocations: 3.938 kB / 1.063 GB, free: 1.16 MB / 0.8106 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 0.0001057/0.3713, allocations: 121.8 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.3714, allocations: 11.84 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.3714, allocations: 3.531 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3714, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3714, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3714, allocations: 4 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.3716, allocations: 165.7 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3716, allocations: 0 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.3716, allocations: 4 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3716, allocations: 3.938 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.3716, allocations: 3.938 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3716, allocations: 4 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3716, allocations: 3.984 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.958e-05/0.3717, allocations: 73.84 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.3718, allocations: 89.03 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3718, allocations: 4 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.3718, allocations: 0 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.3719, allocations: 4.031 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3719, allocations: 7.938 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.546e-05/0.372, allocations: 95.27 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.372, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002249/0.3722, allocations: 23.98 kB / 1.063 GB, free: 460 kB / 0.8106 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.0002289/0.3724, allocations: 111.2 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.3726, allocations: 81.67 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3726, allocations: 4 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.766e-05/0.3727, allocations: 11.94 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.3728, allocations: 13.66 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.3732, allocations: 169.5 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3736, allocations: 0.6889 MB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.3736, allocations: 11.44 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3736, allocations: 0 / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of Templates: time 0.002806/0.3765, allocations: 0.7191 MB / 1.065 GB, free: 14.58 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches