Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001797/0.001797, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 68.78 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2592, allocations: 140.4 MB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001655/0.2609, allocations: 0.5454 MB / 0.9517 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008272/0.2618, allocations: 0.7806 MB / 0.9524 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.384e-05/0.2618, allocations: 0 / 0.9524 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.03e-05/0.2618, allocations: 0 / 0.9524 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.085e-06/0.2618, allocations: 3.938 kB / 0.9524 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.2621, allocations: 27.91 kB / 0.9525 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.353e-05/0.2621, allocations: 0 / 0.9525 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.2622, allocations: 0 / 0.9525 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.012e-05/0.2622, allocations: 8 kB / 0.9525 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.2623, allocations: 19.91 kB / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.2623, allocations: 0 / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.556e-06/0.2623, allocations: 4 kB / 0.9525 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.2624, allocations: 0 / 0.9525 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.433e-05/0.2624, allocations: 4 kB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 3.303e-05/0.2624, allocations: 3.875 kB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2624, allocations: 0 / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2624, allocations: 0 / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2624, allocations: 3.938 kB / 0.9525 GB, free: 6.605 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002402/0.2627, allocations: 307.6 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2627, allocations: 12.02 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.2628, allocations: 4.938 kB / 0.9528 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.172e-05/0.2629, allocations: 160.4 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.2629, allocations: 8.375 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.2629, allocations: 384 / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.165e-05/0.263, allocations: 26.27 kB / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.263, allocations: 192 / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.263, allocations: 3.938 kB / 0.953 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.263, allocations: 3.938 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.621e-05/0.263, allocations: 7.938 kB / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.2633, allocations: 385.5 kB / 0.9534 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.2634, allocations: 177.1 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.2634, allocations: 80.14 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.2634, allocations: 75.28 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.2635, allocations: 105.8 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2635, allocations: 7.938 kB / 0.9538 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 5.784e-05/0.2636, allocations: 29.7 kB / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.2636, allocations: 126.7 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.098e-05/0.2637, allocations: 97.84 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.2637, allocations: 25.7 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.2638, allocations: 80.14 kB / 0.9542 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.2638, allocations: 0 / 0.9542 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.2638, allocations: 13.72 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.2639, allocations: 319 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-06/0.2639, allocations: 0 / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-06/0.2639, allocations: 0 / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.389e-05/0.264, allocations: 12.8 kB / 0.9545 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.264, allocations: 0 / 0.9545 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.247e-05/0.264, allocations: 41.62 kB / 0.9545 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2641, allocations: 5.875 kB / 0.9545 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2641, allocations: 96 / 0.9545 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2641, allocations: 8 kB / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.151e-05/0.2641, allocations: 0 / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2642, allocations: 0 / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-06/0.2642, allocations: 0 / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.2642, allocations: 0 / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.571e-05/0.2643, allocations: 189.1 kB / 0.9547 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.2643, allocations: 108.9 kB / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.2644, allocations: 112.1 kB / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.778e-05/0.2644, allocations: 180.3 kB / 0.9551 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.364e-05/0.2645, allocations: 184.1 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.14e-05/0.2646, allocations: 176.3 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.2648, allocations: 413.1 kB / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-05/0.2648, allocations: 105 kB / 0.9559 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.2649, allocations: 108.9 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.578e-05/0.2649, allocations: 180.2 kB / 0.9562 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.827e-05/0.265, allocations: 176.3 kB / 0.9564 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.367e-05/0.2651, allocations: 188.2 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.802e-05/0.2651, allocations: 180.3 kB / 0.9567 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.2653, allocations: 308 kB / 0.957 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.2653, allocations: 182.1 kB / 0.9572 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.2654, allocations: 188.2 kB / 0.9574 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.2655, allocations: 105 kB / 0.9575 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.2656, allocations: 180.2 kB / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.2656, allocations: 105 kB / 0.9578 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.773e-05/0.2657, allocations: 75.28 kB / 0.9578 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2657, allocations: 0 / 0.9578 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002261/0.2659, allocations: 4 kB / 0.9578 GB, free: 0.6992 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001212/0.266, allocations: 178.5 kB / 0.958 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.008e-05/0.2661, allocations: 4 kB / 0.958 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2661, allocations: 4.156 kB / 0.958 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.2661, allocations: 3.938 kB / 0.958 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.2665, allocations: 463.1 kB / 0.9585 GB, free: 52 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001694/0.2666, allocations: 153.8 kB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.2669, allocations: 0.6766 MB / 0.9593 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.009e-05/0.2669, allocations: 4 kB / 0.9593 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.2669, allocations: 7.438 kB / 0.9593 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.2669, allocations: 0 / 0.9593 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of Templates: time 0.00165/0.2686, allocations: 180.8 kB / 0.9595 GB, free: 15.03 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches