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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_9_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_9_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.006349/0.006349, allocations: 100.9 kB / 15.73 MB, free: 6.051 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.001055/0.001055, allocations: 196.7 kB / 16.68 MB, free: 5.965 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.199/2.199, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.89 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8231/0.8243, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001981/0.8264, allocations: 1.249 MB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.8276, allocations: 0.877 MB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.8276, allocations: 1.125 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.8276, allocations: 4 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.8278, allocations: 34.23 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007253/0.8285, allocations: 244.7 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.545e-05/0.8286, allocations: 23.59 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.8286, allocations: 1.609 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.546e-05/0.8286, allocations: 24.44 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.8288, allocations: 49.8 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.8288, allocations: 1.125 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.8293, allocations: 278.7 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.8293, allocations: 17.88 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.8294, allocations: 16.53 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.8297, allocations: 242.7 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8297, allocations: 1.156 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8297, allocations: 0 / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.8297, allocations: 4.609 kB / 1.09 GB, free: 3.555 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.0003465/0.8301, allocations: 385.1 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.8302, allocations: 9.25 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.626e-05/0.8302, allocations: 33.55 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.8302, allocations: 11.73 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.643e-05/0.8303, allocations: 181.5 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.8303, allocations: 384 / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.8303, allocations: 5.094 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.8305, allocations: 68.83 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.8305, allocations: 4.734 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.8305, allocations: 0 / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/0.8305, allocations: 12.12 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.565e-05/0.8306, allocations: 28.38 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.8308, allocations: 167.4 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.8308, allocations: 53.16 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/0.8309, allocations: 38.44 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.8309, allocations: 8 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.8309, allocations: 36.59 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.8309, allocations: 0 / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002123/0.8311, allocations: 128.8 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.8312, allocations: 52.67 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.8313, allocations: 129.1 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.8313, allocations: 25.7 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.8313, allocations: 88.72 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.8313, allocations: 38.5 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.8314, allocations: 20.12 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.8314, allocations: 319.9 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.8315, allocations: 28.3 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.8315, allocations: 28.23 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.526e-05/0.8316, allocations: 78.02 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.8316, allocations: 0 / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001028/0.8317, allocations: 101.5 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.8317, allocations: 10 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8317, allocations: 4 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.8317, allocations: 1.188 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.8317, allocations: 0 / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.8317, allocations: 1.297 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.604e-05/0.8318, allocations: 4.906 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.8318, allocations: 2.312 kB / 1.092 GB, free: 1.766 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 5.572e-05/0.8318, allocations: 119.6 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.8319, allocations: 10.77 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/0.8319, allocations: 16.3 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/0.8319, allocations: 11.89 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8319, allocations: 1.141 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.8319, allocations: 0 / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.832, allocations: 169 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.832, allocations: 0.7188 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.832, allocations: 4.641 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.832, allocations: 0.7188 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.8321, allocations: 0.75 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8321, allocations: 1.438 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8321, allocations: 4.844 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.8322, allocations: 131.9 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.8322, allocations: 87.75 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.8322, allocations: 0.9688 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.163e-05/0.8322, allocations: 1.609 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.8323, allocations: 0.9062 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.8323, allocations: 2.719 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.8323, allocations: 110.1 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8323, allocations: 4.031 kB / 1.093 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000331/0.8327, allocations: 72.81 kB / 1.093 GB, free: 1.145 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.0004732/0.8331, allocations: 0.7376 MB / 1.094 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.8333, allocations: 62.2 kB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8333, allocations: 0.8438 kB / 1.094 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.8333, allocations: 42.91 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.8335, allocations: 12.3 kB / 1.094 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.8339, allocations: 248.8 kB / 1.094 GB, free: 312 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.8342, allocations: 0.6955 MB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.493e-05/0.8343, allocations: 8.891 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.8343, allocations: 23.39 kB / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8343, allocations: 0 / 1.095 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.8569, allocations: 2.828 MB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/8.211, allocations: 6.875 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > 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/jenkins1/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