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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005208/0.005208, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001114/0.001114, allocations: 194.9 kB / 16.68 MB, free: 5.969 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.575/2.575, allocations: 472.6 MB / 0.7453 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7306/0.7319, allocations: 159.9 MB / 1.226 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002501/0.7344, allocations: 1.238 MB / 1.227 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.736, allocations: 0.897 MB / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.7361, allocations: 0 / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.7362, allocations: 0 / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.7363, allocations: 27.95 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008635/0.7372, allocations: 243.5 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.7373, allocations: 27.95 kB / 1.228 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.7373, allocations: 8 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.7374, allocations: 19.86 kB / 1.228 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.7375, allocations: 51.94 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.517e-06/0.7375, allocations: 0 / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.738, allocations: 279.6 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.738, allocations: 23.91 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.738, allocations: 19.81 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.7384, allocations: 235.9 kB / 1.229 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7384, allocations: 0 / 1.229 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7384, allocations: 0 / 1.229 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.7384, allocations: 0 / 1.229 GB, free: 10.53 MB / 0.9512 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.000384/0.7388, allocations: 398.9 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.7388, allocations: 8.031 kB / 1.229 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.7389, allocations: 8.875 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.739, allocations: 176.2 kB / 1.229 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.739, allocations: 4.375 kB / 1.229 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.739, allocations: 4.359 kB / 1.229 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.7392, allocations: 58 kB / 1.229 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.7392, allocations: 4 kB / 1.229 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.7392, allocations: 0 / 1.229 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/0.7392, allocations: 19.98 kB / 1.229 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.7393, allocations: 27.98 kB / 1.229 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.7395, allocations: 169.6 kB / 1.229 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.925e-05/0.7396, allocations: 50.56 kB / 1.23 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.7396, allocations: 36.88 kB / 1.23 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.7396, allocations: 4 kB / 1.23 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.7397, allocations: 38.5 kB / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.7397, allocations: 0 / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0002057/0.7399, allocations: 133.7 kB / 1.23 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.7399, allocations: 51.41 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.74, allocations: 129.8 kB / 1.23 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.7401, allocations: 25.98 kB / 1.23 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.7401, allocations: 96.11 kB / 1.23 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.7402, allocations: 31.7 kB / 1.23 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.7402, allocations: 21.64 kB / 1.23 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7403, allocations: 322.9 kB / 1.23 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.7404, allocations: 27.98 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.7404, allocations: 31.92 kB / 1.23 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.343e-05/0.7405, allocations: 72.83 kB / 1.23 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7405, allocations: 0 / 1.23 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001021/0.7406, allocations: 97.56 kB / 1.231 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7406, allocations: 7.938 kB / 1.231 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.7406, allocations: 0 / 1.231 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.7407, allocations: 0 / 1.231 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.7407, allocations: 8.062 kB / 1.231 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.7407, allocations: 0 / 1.231 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.7407, allocations: 3.953 kB / 1.231 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.7407, allocations: 0 / 1.231 GB, free: 8.277 MB / 0.9512 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.778e-05/0.7408, allocations: 125.6 kB / 1.231 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.7408, allocations: 7.891 kB / 1.231 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.665e-05/0.7408, allocations: 16.36 kB / 1.231 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.7409, allocations: 12 kB / 1.231 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7409, allocations: 0 / 1.231 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.7409, allocations: 4 kB / 1.231 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.741, allocations: 173.6 kB / 1.231 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.741, allocations: 0 / 1.231 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.741, allocations: 0 / 1.231 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.741, allocations: 3.938 kB / 1.231 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.741, allocations: 4.094 kB / 1.231 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.7411, allocations: 3.938 kB / 1.231 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.7411, allocations: 0 / 1.231 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.7412, allocations: 129 kB / 1.231 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.7412, allocations: 89 kB / 1.231 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.7412, allocations: 0 / 1.231 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.203e-05/0.7413, allocations: 4 kB / 1.231 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.7413, allocations: 0 / 1.231 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.7413, allocations: 7.938 kB / 1.231 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.118e-05/0.7414, allocations: 107.2 kB / 1.231 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7414, allocations: 0 / 1.231 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002773/0.7417, allocations: 71.86 kB / 1.231 GB, free: 7.438 MB / 0.9512 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.0002972/0.742, allocations: 183 kB / 1.231 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.7421, allocations: 67.92 kB / 1.232 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.7421, allocations: 0 / 1.232 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.401e-05/0.7421, allocations: 35.98 kB / 1.232 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.7423, allocations: 4 kB / 1.232 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.7426, allocations: 205.9 kB / 1.232 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.7428, allocations: 0.6925 MB / 1.232 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.7429, allocations: 11.98 kB / 1.232 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.7429, allocations: 7.438 kB / 1.232 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7429, allocations: 0 / 1.232 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.003713/0.7466, allocations: 1.488 MB / 1.234 GB, free: 4.738 MB / 0.9512 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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