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.001061/0.001061, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001825/0.001825, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.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.522/2.522, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004066, allocations: 16 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7812/0.7816, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0005882/0.7823, allocations: 280.5 kB / 0.9538 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007078/0.783, allocations: 0.7549 MB / 0.9546 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.044e-05/0.783, allocations: 4 kB / 0.9546 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.783, allocations: 0 / 0.9546 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-06/0.783, allocations: 1.438 kB / 0.9546 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.7832, allocations: 24.09 kB / 0.9546 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.08e-05/0.7833, allocations: 0.8438 kB / 0.9546 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.7833, allocations: 1.188 kB / 0.9546 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.417e-05/0.7834, allocations: 0 / 0.9546 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.7835, allocations: 22.92 kB / 0.9546 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.575e-06/0.7835, allocations: 0 / 0.9546 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-06/0.7835, allocations: 1.094 kB / 0.9546 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.7835, allocations: 0 / 0.9546 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.7835, allocations: 29.69 kB / 0.9546 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 2.609e-05/0.7836, allocations: 0.8125 kB / 0.9546 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.7836, allocations: 0 / 0.9546 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7836, allocations: 1.156 kB / 0.9546 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.7836, allocations: 3.938 kB / 0.9546 GB, free: 7.184 MB / 0.7169 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.0001574/0.7838, allocations: 304.3 kB / 0.9549 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.7838, allocations: 14 kB / 0.9549 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.112e-05/0.7838, allocations: 3.953 kB / 0.955 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.093e-05/0.7839, allocations: 159.1 kB / 0.9551 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.7839, allocations: 1.031 kB / 0.9551 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.7839, allocations: 0 / 0.9551 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.957e-05/0.784, allocations: 39.59 kB / 0.9551 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.784, allocations: 0 / 0.9551 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.784, allocations: 1.062 kB / 0.9551 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.784, allocations: 0 / 0.9551 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.623e-05/0.784, allocations: 9.047 kB / 0.9552 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.7842, allocations: 373.6 kB / 0.9555 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.7843, allocations: 175 kB / 0.9557 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.7843, allocations: 79.27 kB / 0.9557 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.7843, allocations: 110.8 kB / 0.9559 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.7843, allocations: 0 / 0.9559 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.933e-05/0.7844, allocations: 30.47 kB / 0.9559 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.7844, allocations: 131.7 kB / 0.956 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.893e-05/0.7845, allocations: 96.11 kB / 0.9561 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-06/0.7845, allocations: 25.7 kB / 0.9561 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.753e-05/0.7845, allocations: 84.05 kB / 0.9562 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.7845, allocations: 1.312 kB / 0.9562 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.7845, allocations: 4 kB / 0.9562 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.868e-05/0.7846, allocations: 314.8 kB / 0.9565 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-06/0.7846, allocations: 1.219 kB / 0.9565 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-06/0.7846, allocations: 5.578 kB / 0.9565 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.348e-05/0.7846, allocations: 1.375 kB / 0.9565 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.7846, allocations: 0 / 0.9565 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.217e-05/0.7847, allocations: 30.7 kB / 0.9565 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.7847, allocations: 5.438 kB / 0.9566 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.7847, allocations: 5.312 kB / 0.9566 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.7847, allocations: 0 / 0.9566 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.7848, allocations: 2.375 kB / 0.9566 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.7848, allocations: 3.953 kB / 0.9566 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.062e-05/0.7848, allocations: 4 kB / 0.9566 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.7848, allocations: 1.25 kB / 0.9566 GB, free: 5.035 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.7849, allocations: 188.3 kB / 0.9567 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.7849, allocations: 106.1 kB / 0.9569 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.7849, allocations: 113 kB / 0.957 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.785, allocations: 185.5 kB / 0.9571 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-05/0.785, allocations: 177.3 kB / 0.9573 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/0.785, allocations: 192.1 kB / 0.9575 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.7852, allocations: 399.4 kB / 0.9579 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.7852, allocations: 107.4 kB / 0.958 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.7852, allocations: 104.9 kB / 0.9581 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-05/0.7852, allocations: 181.5 kB / 0.9582 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.7853, allocations: 185.5 kB / 0.9584 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.586e-05/0.7853, allocations: 181.4 kB / 0.9586 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.667e-05/0.7853, allocations: 177.4 kB / 0.9588 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.635e-05/0.7854, allocations: 315.5 kB / 0.9591 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.7854, allocations: 182 kB / 0.9592 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.7855, allocations: 178.7 kB / 0.9594 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.7855, allocations: 101 kB / 0.9595 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.7856, allocations: 193.6 kB / 0.9597 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.7856, allocations: 106.2 kB / 0.9598 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.897e-05/0.7856, allocations: 76.69 kB / 0.9599 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7856, allocations: 0 / 0.9599 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002135/0.7859, allocations: 5.188 kB / 0.9599 GB, free: 1.457 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001024/0.786, allocations: 184 kB / 0.96 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.564e-05/0.786, allocations: 9.219 kB / 0.9601 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.786, allocations: 0.9688 kB / 0.9601 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.786, allocations: 4 kB / 0.9601 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.7862, allocations: 0.5204 MB / 0.9606 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001383/0.7864, allocations: 151.5 kB / 0.9607 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.7865, allocations: 0.6752 MB / 0.9614 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.139e-05/0.7865, allocations: 4.969 kB / 0.9614 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.7866, allocations: 7.438 kB / 0.9614 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.7866, allocations: 0 / 0.9614 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of Templates: time 0.001871/0.7884, allocations: 164.6 kB / 0.9615 GB, free: 15.81 MB / 0.7325 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 -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","../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