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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001081/0.001081, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008202/0.008202, allocations: 171.4 kB / 16.27 MB, free: 6.652 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003333, allocations: 9.75 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2891, allocations: 159.6 MB / 1.059 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001404/0.2905, allocations: 1.022 MB / 1.06 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007991/0.2913, allocations: 458.8 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.2914, allocations: 0 / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.707e-05/0.2915, allocations: 0 / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.242e-05/0.2916, allocations: 11.98 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.2918, allocations: 27.89 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.809e-05/0.2919, allocations: 35.91 kB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.2919, allocations: 4 kB / 1.06 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.292, allocations: 11.94 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.2921, allocations: 15.97 kB / 1.06 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.2921, allocations: 4 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.2922, allocations: 43.89 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.2923, allocations: 15.92 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.2923, allocations: 37.64 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.2925, allocations: 64.03 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2925, allocations: 0 / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2925, allocations: 0 / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2925, allocations: 0 / 1.06 GB, free: 3.656 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.0003758/0.2929, allocations: 339.4 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2929, allocations: 16.03 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.293, allocations: 4.844 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.2931, allocations: 179.6 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2931, allocations: 384 / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.2932, allocations: 4.375 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.2933, allocations: 55.59 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2933, allocations: 0 / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2933, allocations: 0 / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.2933, allocations: 4 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.735e-05/0.2934, allocations: 8 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.2935, allocations: 166.6 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.825e-05/0.2936, allocations: 41.09 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.2936, allocations: 25.77 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.2937, allocations: 4 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2937, allocations: 34.5 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2937, allocations: 7.938 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001418/0.2938, allocations: 49.59 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.2939, allocations: 81.05 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.294, allocations: 138 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.294, allocations: 29.7 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.2941, allocations: 92.03 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.2941, allocations: 3.906 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.2942, allocations: 21.72 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2943, allocations: 318.8 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.692e-05/0.2943, allocations: 23.98 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/0.2944, allocations: 24 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.806e-05/0.2944, allocations: 48.84 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2945, allocations: 4 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001365/0.2946, allocations: 96.86 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2946, allocations: 9.188 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.2947, allocations: 4 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2947, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.2947, allocations: 3.984 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2947, allocations: 4 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.2948, allocations: 7.844 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.2948, allocations: 0 / 1.062 GB, free: 1.602 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 8.203e-05/0.2949, allocations: 117.8 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.2949, allocations: 7.844 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.2949, allocations: 11.52 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2949, allocations: 4 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.2949, allocations: 4 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.295, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.2951, allocations: 157.7 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2951, allocations: 0 / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.2951, allocations: 4 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2951, allocations: 4.031 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2951, allocations: 3.984 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2951, allocations: 7.938 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2951, allocations: 3.938 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.993e-05/0.2952, allocations: 77.83 kB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.2953, allocations: 85.05 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.2953, allocations: 3.984 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.687e-05/0.2953, allocations: 0 / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.2953, allocations: 8.031 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.2953, allocations: 4 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.338e-05/0.2954, allocations: 95.27 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2954, allocations: 0 / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000229/0.2957, allocations: 16 kB / 1.063 GB, free: 0.8984 MB / 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.0002033/0.2959, allocations: 115.2 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.296, allocations: 89.61 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.296, allocations: 4 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.2961, allocations: 4 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.2962, allocations: 13.81 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.2965, allocations: 141.5 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.2968, allocations: 0.6889 MB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.2968, allocations: 7.938 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.462e-05/0.2969, allocations: 7.438 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of SimCode: time 7.22e-07/0.2969, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.0029/0.2998, allocations: 0.5266 MB / 1.064 GB, free: 15.29 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/jenkins/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