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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000845/0.0008449, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006314/0.006314, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.467/2.467, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003907, allocations: 10.66 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2968, allocations: 159.6 MB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001438/0.2983, allocations: 0.979 MB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2999, allocations: 0.9157 MB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.2999, allocations: 0 / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.2999, allocations: 0 / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.3001, allocations: 31.89 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.3008, allocations: 187.7 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.055e-05/0.3009, allocations: 35.91 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.3009, allocations: 7.984 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.659e-05/0.301, allocations: 19.91 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.3011, allocations: 47.95 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.168e-06/0.3011, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.3016, allocations: 283.6 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.3017, allocations: 11.98 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.3017, allocations: 45.52 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.3021, allocations: 247.7 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3021, allocations: 0 / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3022, allocations: 4 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3022, allocations: 0 / 1.062 GB, free: 1.988 MB / 0.8106 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.0004257/0.3026, allocations: 375.3 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.3027, allocations: 15.97 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.3027, allocations: 42.69 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.3027, allocations: 4.938 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.3029, allocations: 180.2 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3029, allocations: 384 / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.3029, allocations: 384 / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.303, allocations: 61.81 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3031, allocations: 0 / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3031, allocations: 7.984 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-05/0.3031, allocations: 11.98 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/0.3032, allocations: 35.86 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.3034, allocations: 173.5 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.394e-05/0.3035, allocations: 50.56 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.3036, allocations: 36.88 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.3036, allocations: 11.98 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3036, allocations: 38.44 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.3036, allocations: 0 / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0002383/0.3039, allocations: 133.7 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3039, allocations: 51.41 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.304, allocations: 125.8 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3041, allocations: 25.7 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.3041, allocations: 96.16 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.3042, allocations: 27.56 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.3042, allocations: 17.7 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3044, allocations: 314.8 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/0.3044, allocations: 35.92 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.145e-05/0.3044, allocations: 23.98 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.007e-05/0.3045, allocations: 68.83 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3045, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001238/0.3047, allocations: 105.5 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3047, allocations: 12.06 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3047, allocations: 384 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3047, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.3047, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3047, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.3048, allocations: 3.938 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3048, allocations: 4 kB / 1.064 GB, free: 15.71 MB / 0.8262 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 0.0001034/0.3049, allocations: 117.8 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.3049, allocations: 11.84 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.3049, allocations: 20.36 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.305, allocations: 8 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.305, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.305, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.3051, allocations: 177.5 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3052, allocations: 4 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-06/0.3052, allocations: 3.938 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3052, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.3052, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3052, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3052, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.3053, allocations: 132.9 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.3054, allocations: 84.98 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3054, allocations: 3.984 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.285e-05/0.3054, allocations: 8 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.3055, allocations: 0 / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.3055, allocations: 0 / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.832e-05/0.3056, allocations: 107.3 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3056, allocations: 0 / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003559/0.3059, allocations: 68.02 kB / 1.064 GB, free: 14.88 MB / 0.8262 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.0006772/0.3066, allocations: 0.7333 MB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.3067, allocations: 67.86 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3068, allocations: 4 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.3068, allocations: 40.08 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.307, allocations: 2.531 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.3075, allocations: 278.8 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.3078, allocations: 0.6965 MB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.3079, allocations: 10.69 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.3079, allocations: 19.44 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of SimCode: time 5.72e-07/0.3079, allocations: 4 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.582/2.89, allocations: 2.635 MB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004551/2.891, allocations: 296.8 kB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/5.191, allocations: 0 / 1.069 GB, free: 10.15 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > 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