Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_9_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_9_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.007823/0.007823, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001795/0.001795, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.89 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8501, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002204/0.8524, allocations: 1.251 MB / 1.089 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.8538, allocations: 0.8762 MB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.8538, allocations: 1.344 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.716e-05/0.8539, allocations: 4.594 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.854, allocations: 34.16 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008451/0.8548, allocations: 240.4 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.8549, allocations: 30.89 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.855, allocations: 1.922 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.855, allocations: 24.86 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.8552, allocations: 50.67 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.906e-06/0.8552, allocations: 0 / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.8557, allocations: 282.9 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.8557, allocations: 17.73 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.8558, allocations: 17.2 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.8562, allocations: 240.2 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8562, allocations: 0.6562 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8562, allocations: 0.7188 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.8562, allocations: 0 / 1.091 GB, free: 3.777 MB / 0.8575 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.0003569/0.8566, allocations: 386.5 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.8566, allocations: 9.672 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.8567, allocations: 7.875 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.261e-05/0.8568, allocations: 177.5 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.8568, allocations: 384 / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.8568, allocations: 5.031 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.8569, allocations: 60.89 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.857, allocations: 4.453 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.857, allocations: 0.625 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.857, allocations: 16.02 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.035e-05/0.8571, allocations: 28 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.8573, allocations: 179.8 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.337e-05/0.8573, allocations: 49.48 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.8574, allocations: 38.09 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.8574, allocations: 0.7969 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.8574, allocations: 39.62 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.8574, allocations: 0 / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002126/0.8577, allocations: 133 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.8577, allocations: 52.38 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.8578, allocations: 125.4 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.8578, allocations: 26.7 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/0.8578, allocations: 91.53 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.8579, allocations: 30.75 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.8579, allocations: 19.47 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.858, allocations: 324.1 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.634e-05/0.858, allocations: 24.17 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.858, allocations: 28.72 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.8581, allocations: 78.14 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8581, allocations: 0 / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001222/0.8583, allocations: 97.8 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.8583, allocations: 8.656 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.8583, allocations: 1.359 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8583, allocations: 0.8125 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.8583, allocations: 4 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.8583, allocations: 1.281 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.8584, allocations: 8.5 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.8584, allocations: 2.719 kB / 1.093 GB, free: 2.039 MB / 0.8575 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 7.926e-05/0.8585, allocations: 119.6 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.8585, allocations: 9.938 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.8585, allocations: 8.859 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.8585, allocations: 16.27 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8586, allocations: 4.656 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8586, allocations: 0.8125 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.8587, allocations: 173.2 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8587, allocations: 4 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-06/0.8587, allocations: 1.484 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8587, allocations: 3.938 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.8587, allocations: 0.8125 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.8587, allocations: 0.75 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8587, allocations: 1.641 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.8589, allocations: 127.3 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.8589, allocations: 87.81 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.8589, allocations: 5.391 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.194e-05/0.8589, allocations: 0.8125 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.8589, allocations: 1.578 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.8589, allocations: 2.25 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.859, allocations: 109.9 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.859, allocations: 0 / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003588/0.8594, allocations: 76.11 kB / 1.094 GB, free: 1.414 MB / 0.8575 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.0003007/0.8597, allocations: 172.6 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.8598, allocations: 70.41 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8598, allocations: 0 / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.8599, allocations: 35.17 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.86, allocations: 5.406 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.8604, allocations: 191.9 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.8605, allocations: 0.6945 MB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.8605, allocations: 3.969 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.8606, allocations: 10.45 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.8606, allocations: 7.938 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of Templates: time 0.00465/0.8652, allocations: 1.483 MB / 1.096 GB, free: 336 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches