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.001421/0.001421, allocations: 107 kB / 16.36 MB, free: 6.336 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.001536/0.001536, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.17 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.185/2.185, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 62.11 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2662, allocations: 140.4 MB / 0.9512 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001941/0.2682, allocations: 0.5398 MB / 0.9517 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2692, allocations: 0.7805 MB / 0.9524 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.2692, allocations: 4 kB / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.2693, allocations: 0 / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.2693, allocations: 3.938 kB / 0.9524 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.2696, allocations: 27.86 kB / 0.9525 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.185e-05/0.2697, allocations: 0 / 0.9525 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.2697, allocations: 7.984 kB / 0.9525 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.38e-05/0.2697, allocations: 0 / 0.9525 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2699, allocations: 23.98 kB / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.2699, allocations: 0 / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.506e-06/0.2699, allocations: 0 / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.377e-06/0.2699, allocations: 0 / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.2699, allocations: 0 / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 4.15e-05/0.27, allocations: 3.984 kB / 0.9525 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.27, allocations: 0 / 0.9525 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.27, allocations: 0 / 0.9525 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.27, allocations: 3.984 kB / 0.9525 GB, free: 6.617 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.0002665/0.2703, allocations: 307.6 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2703, allocations: 16.06 kB / 0.9528 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.2704, allocations: 0.9375 kB / 0.9528 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.885e-05/0.2705, allocations: 160.4 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2705, allocations: 4.312 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.2705, allocations: 384 / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.911e-05/0.2706, allocations: 34.25 kB / 0.953 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2706, allocations: 4.188 kB / 0.953 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2706, allocations: 11.88 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2706, allocations: 0 / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.2707, allocations: 4 kB / 0.953 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.271, allocations: 381.6 kB / 0.9534 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.051e-05/0.2711, allocations: 173 kB / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.2711, allocations: 84.12 kB / 0.9536 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.2712, allocations: 75.28 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.2712, allocations: 109.8 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2712, allocations: 0 / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.478e-05/0.2713, allocations: 29.7 kB / 0.9538 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.2714, allocations: 130.6 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.2715, allocations: 93.86 kB / 0.9541 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.2715, allocations: 25.7 kB / 0.9541 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.2716, allocations: 84.27 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-06/0.2716, allocations: 0 / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.2716, allocations: 13.72 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2717, allocations: 314.8 kB / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.2718, allocations: 0 / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.2718, allocations: 4 kB / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.2718, allocations: 8.859 kB / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2718, allocations: 64 / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.252e-05/0.2719, allocations: 41.58 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2719, allocations: 11.94 kB / 0.9545 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2719, allocations: 0 / 0.9545 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.272, allocations: 3.984 kB / 0.9545 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.272, allocations: 0 / 0.9545 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.272, allocations: 3.984 kB / 0.9545 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.055e-05/0.2721, allocations: 4 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.2721, allocations: 3.984 kB / 0.9546 GB, free: 4.293 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 9.344e-05/0.2722, allocations: 191.1 kB / 0.9547 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.2722, allocations: 101 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.478e-05/0.2723, allocations: 116 kB / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.463e-05/0.2723, allocations: 176.3 kB / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.717e-05/0.2724, allocations: 180.2 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.225e-05/0.2725, allocations: 180.2 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.2727, allocations: 409.2 kB / 0.9558 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-05/0.2728, allocations: 112.9 kB / 0.956 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.2728, allocations: 105 kB / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.673e-05/0.2729, allocations: 176.3 kB / 0.9562 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/0.2729, allocations: 184.2 kB / 0.9564 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.804e-05/0.273, allocations: 180.3 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-05/0.2731, allocations: 180.2 kB / 0.9567 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.2732, allocations: 308 kB / 0.957 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.2733, allocations: 182 kB / 0.9572 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.915e-05/0.2734, allocations: 184.3 kB / 0.9574 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.2735, allocations: 116.9 kB / 0.9575 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.2736, allocations: 180.3 kB / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.2736, allocations: 101 kB / 0.9578 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.2737, allocations: 83.22 kB / 0.9578 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2737, allocations: 0 / 0.9578 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002205/0.2739, allocations: 0 / 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.0001511/0.2741, allocations: 178.6 kB / 0.958 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.44e-05/0.2741, allocations: 4 kB / 0.958 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2741, allocations: 0 / 0.958 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.2741, allocations: 0 / 0.958 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.2745, allocations: 467.6 kB / 0.9585 GB, free: 52 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.2747, allocations: 152.3 kB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.275, allocations: 0.6805 MB / 0.9593 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.215e-05/0.275, allocations: 0 / 0.9593 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.275, allocations: 7.438 kB / 0.9593 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/0.275, allocations: 0 / 0.9593 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of Templates: time 0.001879/0.2769, allocations: 183.6 kB / 0.9595 GB, free: 15.02 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 gbode -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