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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001508/0.001508, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.81 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2521, allocations: 157.4 MB / 1.053 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002249/0.2544, allocations: 1.244 MB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2557, allocations: 0.9075 MB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.2557, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.2557, allocations: 0 / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.862e-05/0.2559, allocations: 35.89 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.2565, allocations: 242.6 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.321e-05/0.2566, allocations: 31.97 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.2566, allocations: 4 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.2567, allocations: 19.97 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.2568, allocations: 47.95 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.2568, allocations: 3.938 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.2572, allocations: 275.6 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.2573, allocations: 19.98 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.2573, allocations: 15.81 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.2576, allocations: 247.7 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2576, allocations: 0 / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2576, allocations: 0 / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2576, allocations: 0 / 1.056 GB, free: 5.133 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.0003618/0.258, allocations: 387.2 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.258, allocations: 8.625 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.2581, allocations: 38.75 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.129e-05/0.2581, allocations: 4.844 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2582, allocations: 184.2 kB / 1.057 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-06/0.2582, allocations: 384 / 1.057 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.2582, allocations: 384 / 1.057 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.2583, allocations: 61.81 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.2584, allocations: 0 / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.2584, allocations: 0 / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.2584, allocations: 12 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.2584, allocations: 23.98 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.2586, allocations: 177.6 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.42e-05/0.2587, allocations: 54.59 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.2587, allocations: 36.89 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.2587, allocations: 3.984 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.2588, allocations: 34.5 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.2588, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0001886/0.259, allocations: 137.5 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.259, allocations: 55.34 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.2591, allocations: 137.8 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.2591, allocations: 25.7 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.2592, allocations: 88.14 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.2592, allocations: 35.45 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.2592, allocations: 17.7 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2593, allocations: 318.8 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-05/0.2594, allocations: 27.98 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.2594, allocations: 24.48 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.612e-05/0.2595, allocations: 76.8 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2595, allocations: 0 / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.761e-05/0.2596, allocations: 101.6 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2596, allocations: 8 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2596, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2596, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2597, allocations: 3.938 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2597, allocations: 0 / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.2597, allocations: 4.281 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.2597, allocations: 4 kB / 1.058 GB, free: 2.852 MB / 0.8106 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 6.952e-05/0.2598, allocations: 121.9 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.2598, allocations: 11.84 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.364e-05/0.2598, allocations: 16.31 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.2598, allocations: 11.98 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2598, allocations: 0 / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2598, allocations: 0 / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.26, allocations: 181.6 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.26, allocations: 0 / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-06/0.26, allocations: 3.938 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-06/0.26, allocations: 0 / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.26, allocations: 4 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.26, allocations: 0 / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.26, allocations: 0 / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.2601, allocations: 125 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.2602, allocations: 92.88 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.2602, allocations: 4 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.059e-05/0.2602, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.2602, allocations: 32 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.2602, allocations: 8 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.892e-05/0.2603, allocations: 103.3 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2603, allocations: 0 / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002657/0.2606, allocations: 63.98 kB / 1.059 GB, free: 2.023 MB / 0.8106 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.0005115/0.2611, allocations: 0.7411 MB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.2612, allocations: 63.98 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2612, allocations: 0 / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.2613, allocations: 39.92 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.2614, allocations: 7.922 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.2618, allocations: 266.2 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.2621, allocations: 0.6924 MB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.2621, allocations: 4 kB / 1.06 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.2622, allocations: 23.44 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2622, allocations: 0 / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.325/2.587, allocations: 2.792 MB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/14.07, allocations: 21.19 kB / 1.063 GB, free: 13.48 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