Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 92.16 kB / 16.02 MB, free: 76 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.00238/0.00238, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.471/1.471, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004066, allocations: 12 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8381/0.8385, allocations: 153.8 MB / 1.024 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001394/0.8399, allocations: 0.9769 MB / 1.025 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.8414, allocations: 0.901 MB / 1.026 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.726e-05/0.8414, allocations: 0 / 1.026 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.8415, allocations: 4 kB / 1.026 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.8416, allocations: 35.94 kB / 1.026 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.8423, allocations: 191.6 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.062e-05/0.8424, allocations: 35.95 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.8424, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.8425, allocations: 15.98 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.8426, allocations: 51.94 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.8426, allocations: 0 / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.843, allocations: 275.6 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.8431, allocations: 19.92 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.8431, allocations: 45.56 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.8433, allocations: 173.8 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8434, allocations: 0 / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.624e-06/0.8434, allocations: 4 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.8434, allocations: 0 / 1.026 GB, free: 13.3 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003698/0.8437, allocations: 379.3 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.8438, allocations: 12.03 kB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.8438, allocations: 4.844 kB / 1.027 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.8439, allocations: 176.2 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.844, allocations: 384 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.844, allocations: 4.375 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.8441, allocations: 62 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.8441, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.8441, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.8442, allocations: 15.98 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.616e-05/0.8442, allocations: 27.92 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.8444, allocations: 173.6 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.305e-05/0.8445, allocations: 50.56 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.8445, allocations: 36.88 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.8445, allocations: 4 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.8446, allocations: 38.5 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.8446, allocations: 0 / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0002032/0.8448, allocations: 130.1 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.8448, allocations: 51.41 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.8449, allocations: 137.7 kB / 1.028 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.845, allocations: 29.64 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.845, allocations: 92.12 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.8451, allocations: 39.48 kB / 1.028 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.8451, allocations: 13.72 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8452, allocations: 318.8 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.8452, allocations: 28 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.8453, allocations: 27.92 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.831e-05/0.8454, allocations: 68.83 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8454, allocations: 0 / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001037/0.8455, allocations: 101.5 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.8455, allocations: 13.66 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8455, allocations: 4.062 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.8455, allocations: 0 / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.8455, allocations: 0 / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.8455, allocations: 0 / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.8456, allocations: 3.938 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.8456, allocations: 4 kB / 1.028 GB, free: 11.08 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.281e-05/0.8457, allocations: 118.4 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.8457, allocations: 11.84 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.8457, allocations: 16.36 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.8457, allocations: 12 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8457, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.8457, allocations: 3.984 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.8459, allocations: 165.7 kB / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8459, allocations: 96 / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.8459, allocations: 3.938 kB / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.8459, allocations: 7.938 kB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.8459, allocations: 4 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8459, allocations: 0 / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8459, allocations: 3.984 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.8461, allocations: 129 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.8461, allocations: 84.95 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.8461, allocations: 3.938 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.215e-05/0.8462, allocations: 4 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.8462, allocations: 4 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.8462, allocations: 0 / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.253e-05/0.8462, allocations: 103.2 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8463, allocations: 4 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002883/0.8465, allocations: 72.03 kB / 1.029 GB, free: 10.25 MB / 0.7794 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 (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.000301/0.8469, allocations: 179.1 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.847, allocations: 67.92 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.847, allocations: 0 / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.847, allocations: 35.98 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.8472, allocations: 4 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.8475, allocations: 247.1 kB / 1.03 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.8478, allocations: 0.6926 MB / 1.03 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.8478, allocations: 11.44 kB / 1.03 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of SimCode: time 1.522e-06/0.8478, allocations: 4 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of Templates: time 0.00326/0.8511, allocations: 1.497 MB / 1.032 GB, free: 7.461 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches