Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.333/2.333, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 180 kB / 0.4902 GB, free: 2.289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 223.1 MB / 0.7992 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 99.94 kB / 0.9396 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003929, allocations: 14.42 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3451, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.207/0.5522, allocations: 152.2 MB / 1.378 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.5525, allocations: 107.9 kB / 1.378 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01144/0.5639, allocations: 3.838 MB / 1.382 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5639, allocations: 0 / 1.382 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.564, allocations: 0 / 1.382 GB, free: 9.129 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003868/0.5644, allocations: 407.8 kB / 1.382 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5644, allocations: 8.562 kB / 1.382 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.5644, allocations: 3.906 kB / 1.382 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.5646, allocations: 171 kB / 1.382 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5646, allocations: 4 kB / 1.382 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.5646, allocations: 0 / 1.382 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.5648, allocations: 69.66 kB / 1.382 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5648, allocations: 0 / 1.382 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5648, allocations: 3.938 kB / 1.382 GB, free: 8.383 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.5648, allocations: 8 kB / 1.382 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.561e-05/0.5649, allocations: 27.98 kB / 1.382 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.5651, allocations: 185.5 kB / 1.383 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.888e-05/0.5652, allocations: 58.8 kB / 1.383 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-06/0.5652, allocations: 0 / 1.383 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.5652, allocations: 30.56 kB / 1.383 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 9.21e-07/0.5652, allocations: 0 / 1.383 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.000319/0.5656, allocations: 246.7 kB / 1.383 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.5656, allocations: 51.41 kB / 1.383 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.5657, allocations: 117 kB / 1.383 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.5658, allocations: 25.7 kB / 1.383 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.5658, allocations: 92.06 kB / 1.383 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.5659, allocations: 35.45 kB / 1.383 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.5659, allocations: 0 / 1.383 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.566, allocations: 330.7 kB / 1.384 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.185e-05/0.566, allocations: 36.02 kB / 1.384 GB, free: 7.035 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.5661, allocations: 39.97 kB / 1.384 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.5661, allocations: 31.98 kB / 1.384 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5662, allocations: 0 / 1.384 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001401/0.5663, allocations: 113.5 kB / 1.384 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.5663, allocations: 4 kB / 1.384 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5663, allocations: 0 / 1.384 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.5664, allocations: 4 kB / 1.384 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-06/0.5664, allocations: 3.984 kB / 1.384 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.5664, allocations: 0 / 1.384 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.5664, allocations: 4.062 kB / 1.384 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.5664, allocations: 4 kB / 1.384 GB, free: 6.828 MB / 0.8855 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 8.798e-05/0.5665, allocations: 126.2 kB / 1.384 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.5665, allocations: 7.906 kB / 1.384 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.508e-05/0.5666, allocations: 8.375 kB / 1.384 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.5666, allocations: 4 kB / 1.384 GB, free: 6.676 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5666, allocations: 3.938 kB / 1.384 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5666, allocations: 4 kB / 1.384 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.5668, allocations: 181.6 kB / 1.384 GB, free: 6.441 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5668, allocations: 4 kB / 1.384 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-06/0.5668, allocations: 3.984 kB / 1.384 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.5668, allocations: 0 / 1.384 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.5668, allocations: 0 / 1.384 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.5668, allocations: 0 / 1.384 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5668, allocations: 4 kB / 1.384 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.567, allocations: 132.9 kB / 1.384 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.567, allocations: 92.91 kB / 1.384 GB, free: 6.172 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.567, allocations: 0 / 1.384 GB, free: 6.172 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.55e-05/0.5671, allocations: 12.02 kB / 1.384 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.5671, allocations: 4 kB / 1.384 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.5671, allocations: 4 kB / 1.384 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.5672, allocations: 103.6 kB / 1.384 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5672, allocations: 0 / 1.384 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003103/0.5675, allocations: 75.92 kB / 1.384 GB, free: 5.977 MB / 0.8855 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0003261/0.5678, allocations: 187.9 kB / 1.385 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.5679, allocations: 71.92 kB / 1.385 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5679, allocations: 0 / 1.385 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.517e-05/0.568, allocations: 35.98 kB / 1.385 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.5681, allocations: 1.203 kB / 1.385 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.5684, allocations: 209.5 kB / 1.385 GB, free: 5.441 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.5687, allocations: 0.7043 MB / 1.386 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.5688, allocations: 4 kB / 1.386 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.5688, allocations: 19.44 kB / 1.386 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.5688, allocations: 0 / 1.386 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of Templates: time 0.003686/0.5725, allocations: 1.406 MB / 1.387 GB, free: 3.324 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches