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.001006/0.001006, allocations: 91.77 kB / 16.02 MB, free: 80 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.001333/0.001333, allocations: 178.7 kB / 16.92 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.473/1.473, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 443.2 MB / 0.7181 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 12.34 kB / 0.8801 GB, free: 42.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3398, allocations: 155.2 MB / 1.032 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001692/0.3416, allocations: 1.023 MB / 1.033 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008799/0.3425, allocations: 451.2 kB / 1.033 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.3426, allocations: 0 / 1.033 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.912e-05/0.3427, allocations: 3.938 kB / 1.033 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.3427, allocations: 11.98 kB / 1.033 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.343, allocations: 27.91 kB / 1.033 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.561e-05/0.3431, allocations: 39.89 kB / 1.033 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.737e-05/0.3432, allocations: 0 / 1.033 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.3432, allocations: 19.94 kB / 1.033 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.478e-05/0.3433, allocations: 11.97 kB / 1.033 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3433, allocations: 4 kB / 1.033 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.3435, allocations: 39.91 kB / 1.033 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.3436, allocations: 15.92 kB / 1.033 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.3436, allocations: 41.62 kB / 1.033 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.3437, allocations: 44.11 kB / 1.033 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3438, allocations: 0 / 1.033 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3438, allocations: 0 / 1.033 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3438, allocations: 4 kB / 1.033 GB, free: 2.922 MB / 0.7794 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.0004009/0.3442, allocations: 347.4 kB / 1.034 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3442, allocations: 8.031 kB / 1.034 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.3443, allocations: 0.9375 kB / 1.034 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.3445, allocations: 172.2 kB / 1.034 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3445, allocations: 4.375 kB / 1.034 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3445, allocations: 384 / 1.034 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3446, allocations: 51.72 kB / 1.034 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3446, allocations: 3.938 kB / 1.034 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3447, allocations: 4 kB / 1.034 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.3447, allocations: 4 kB / 1.034 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.633e-05/0.3447, allocations: 4 kB / 1.034 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.3449, allocations: 174.6 kB / 1.034 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.52e-05/0.345, allocations: 37.16 kB / 1.034 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.345, allocations: 17.78 kB / 1.034 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.3451, allocations: 0 / 1.034 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3451, allocations: 46.48 kB / 1.034 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3451, allocations: 0 / 1.034 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001711/0.3453, allocations: 49.53 kB / 1.034 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.3453, allocations: 77.11 kB / 1.034 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3455, allocations: 145.1 kB / 1.034 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.3455, allocations: 25.7 kB / 1.034 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.3456, allocations: 95.97 kB / 1.035 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.3456, allocations: 11.89 kB / 1.035 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.3456, allocations: 17.72 kB / 1.035 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3458, allocations: 322.8 kB / 1.035 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-05/0.3458, allocations: 20 kB / 1.035 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.3458, allocations: 27.92 kB / 1.035 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.3459, allocations: 52.78 kB / 1.035 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3459, allocations: 0 / 1.035 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001306/0.3461, allocations: 93.67 kB / 1.035 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3461, allocations: 13.81 kB / 1.035 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.3461, allocations: 0 / 1.035 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3461, allocations: 0 / 1.035 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.406e-05/0.3462, allocations: 4 kB / 1.035 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3462, allocations: 3.984 kB / 1.035 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.3463, allocations: 7.844 kB / 1.035 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.3463, allocations: 4 kB / 1.035 GB, free: 0.8672 MB / 0.7794 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.553e-05/0.3464, allocations: 119.3 kB / 1.035 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.3464, allocations: 11.84 kB / 1.035 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.3464, allocations: 3.531 kB / 1.035 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3464, allocations: 7.984 kB / 1.035 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3464, allocations: 0 / 1.035 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3464, allocations: 0 / 1.035 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.3466, allocations: 157.7 kB / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3466, allocations: 0 / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.3466, allocations: 4 kB / 1.035 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3466, allocations: 3.938 kB / 1.035 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3466, allocations: 4 kB / 1.035 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3466, allocations: 4 kB / 1.035 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3466, allocations: 0 / 1.035 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.672e-05/0.3467, allocations: 73.83 kB / 1.035 GB, free: 416 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.3468, allocations: 89.05 kB / 1.036 GB, free: 308 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3468, allocations: 96 / 1.036 GB, free: 308 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/0.3468, allocations: 4.031 kB / 1.036 GB, free: 304 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.3469, allocations: 11.97 kB / 1.036 GB, free: 292 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.3469, allocations: 0 / 1.036 GB, free: 292 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.756e-05/0.3469, allocations: 102.3 kB / 1.036 GB, free: 192 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3469, allocations: 0 / 1.036 GB, free: 192 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00021/0.3471, allocations: 12 kB / 1.036 GB, free: 180 kB / 0.7794 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.0001961/0.3473, allocations: 119.2 kB / 1.036 GB, free: 48 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.3475, allocations: 81.67 kB / 1.036 GB, free: 15.96 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.3475, allocations: 4 kB / 1.036 GB, free: 15.96 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.3476, allocations: 11.88 kB / 1.036 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.3477, allocations: 15.88 kB / 1.036 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.3481, allocations: 175.2 kB / 1.036 GB, free: 15.72 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.3484, allocations: 0.6889 MB / 1.037 GB, free: 15.01 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.3484, allocations: 7.438 kB / 1.037 GB, free: 15 MB / 0.795 GB Notification: Performance of SimCode: time 6.31e-07/0.3484, allocations: 4 kB / 1.037 GB, free: 15 MB / 0.795 GB Notification: Performance of Templates: time 0.00245/0.3509, allocations: 0.7154 MB / 1.037 GB, free: 14.29 MB / 0.795 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