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.001544/0.001544, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001442/0.001442, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.68/2.68, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 58.91 kB / 0.9245 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8376, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002488/0.8401, allocations: 1.25 MB / 1.084 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.8416, allocations: 0.8851 MB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.8416, allocations: 0 / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.8417, allocations: 0.7031 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.8418, allocations: 30.73 kB / 1.085 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.8426, allocations: 235.8 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.155e-05/0.8427, allocations: 39.69 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.8427, allocations: 2.328 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.334e-05/0.8428, allocations: 16.23 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.8429, allocations: 47.73 kB / 1.085 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.843, allocations: 0 / 1.085 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.8435, allocations: 280.8 kB / 1.086 GB, free: 12 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.8435, allocations: 26.66 kB / 1.086 GB, free: 0 / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.8436, allocations: 12.59 kB / 1.086 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.844, allocations: 238.6 kB / 1.086 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.844, allocations: 3.938 kB / 1.086 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.028e-06/0.844, allocations: 3.938 kB / 1.086 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.8441, allocations: 3.938 kB / 1.086 GB, free: 15.92 MB / 0.8419 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.0004935/0.8446, allocations: 382.2 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.8446, allocations: 9.031 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.8446, allocations: 6.969 kB / 1.086 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.8448, allocations: 174.6 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.8448, allocations: 4.375 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.8448, allocations: 1.172 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.845, allocations: 60.44 kB / 1.087 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.845, allocations: 3.984 kB / 1.087 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.845, allocations: 1.344 kB / 1.087 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/0.845, allocations: 12.16 kB / 1.087 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.8451, allocations: 32.52 kB / 1.087 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.8453, allocations: 171.1 kB / 1.087 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/0.8454, allocations: 52.06 kB / 1.087 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.8455, allocations: 39.5 kB / 1.087 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.8455, allocations: 4 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.8456, allocations: 39.72 kB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.8456, allocations: 0 / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0002641/0.8458, allocations: 125.5 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.8459, allocations: 53.52 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.846, allocations: 132.9 kB / 1.087 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.8461, allocations: 29.69 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.8461, allocations: 87.86 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.8462, allocations: 33.8 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.8462, allocations: 20.77 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.8464, allocations: 324.5 kB / 1.088 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/0.8465, allocations: 26.91 kB / 1.088 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.8465, allocations: 29.33 kB / 1.088 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.452e-05/0.8466, allocations: 77.64 kB / 1.088 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8466, allocations: 0 / 1.088 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001362/0.8468, allocations: 101.5 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.8468, allocations: 9.906 kB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8468, allocations: 0.6562 kB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8468, allocations: 0 / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.8468, allocations: 1.125 kB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.8468, allocations: 0.6562 kB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.8468, allocations: 5.125 kB / 1.088 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.8469, allocations: 2.969 kB / 1.088 GB, free: 14.19 MB / 0.8419 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 9.869e-05/0.847, allocations: 122.8 kB / 1.088 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.847, allocations: 11.08 kB / 1.088 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.847, allocations: 8.438 kB / 1.088 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.847, allocations: 12.33 kB / 1.088 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.847, allocations: 0 / 1.088 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.8471, allocations: 1.562 kB / 1.088 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.8472, allocations: 168.3 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8472, allocations: 0 / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-06/0.8472, allocations: 2.484 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.8472, allocations: 3.938 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.8473, allocations: 4 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.8473, allocations: 2.109 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8473, allocations: 0 / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.8474, allocations: 131.2 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.8475, allocations: 87.81 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.8475, allocations: 1.906 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.8475, allocations: 0 / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.8476, allocations: 6.156 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.8476, allocations: 7.703 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.277e-05/0.8477, allocations: 104 kB / 1.089 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8477, allocations: 1.469 kB / 1.089 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003128/0.848, allocations: 71.45 kB / 1.089 GB, free: 13.57 MB / 0.8419 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.0003407/0.8483, allocations: 175 kB / 1.089 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.8485, allocations: 66.06 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8485, allocations: 0 / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.73e-05/0.8485, allocations: 40.22 kB / 1.089 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.8487, allocations: 1.859 kB / 1.089 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.8492, allocations: 233.1 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.8496, allocations: 0.6944 MB / 1.09 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.8496, allocations: 14.84 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.8496, allocations: 1.094 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.003913/0.8535, allocations: 1.504 MB / 1.091 GB, free: 12.45 MB / 0.8419 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=400 -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/jenkins1/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