Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006037/0.006037, allocations: 101.2 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.001498/0.001498, allocations: 194 kB / 16.67 MB, free: 5.969 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.262/2.262, allocations: 437.1 MB / 0.7106 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 63.89 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6459/0.6476, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001971/0.6496, allocations: 1.251 MB / 1.167 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.6509, allocations: 0.8836 MB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.148e-05/0.651, allocations: 4 kB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.651, allocations: 7.938 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.137e-05/0.6511, allocations: 27.95 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.6518, allocations: 239.4 kB / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.048e-05/0.6518, allocations: 23.97 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.12e-05/0.6519, allocations: 8 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.185e-05/0.6519, allocations: 19.97 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.652, allocations: 51.88 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.652, allocations: 0 / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.6525, allocations: 279.6 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.6525, allocations: 19.92 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.6525, allocations: 19.8 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.6528, allocations: 235.1 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6528, allocations: 4 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6528, allocations: 0 / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.6529, allocations: 0 / 1.169 GB, free: 0.6953 MB / 0.8887 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.0003674/0.6532, allocations: 401 kB / 1.17 GB, free: 264 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.6533, allocations: 8.922 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.6533, allocations: 46.73 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.6533, allocations: 4.891 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.6535, allocations: 180.2 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.6535, allocations: 384 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.6535, allocations: 384 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.6536, allocations: 65.77 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.6536, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-06/0.6536, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.6537, allocations: 15.98 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.242e-05/0.6537, allocations: 23.98 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.6539, allocations: 173.6 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.231e-05/0.6539, allocations: 46.56 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.654, allocations: 40.88 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.654, allocations: 4 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.654, allocations: 38.44 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 9.31e-07/0.654, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0001812/0.6542, allocations: 137.7 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.6543, allocations: 51.41 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.959e-05/0.6544, allocations: 129.8 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.6544, allocations: 25.7 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.6544, allocations: 92.17 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.6545, allocations: 39.67 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.6545, allocations: 13.72 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6546, allocations: 322.8 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.6547, allocations: 27.94 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.6547, allocations: 23.98 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.984e-05/0.6548, allocations: 72.77 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.6548, allocations: 0 / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001093/0.6549, allocations: 109.6 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.6549, allocations: 8 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.6549, allocations: 384 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.6549, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-07/0.6549, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.655, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.655, allocations: 11.88 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.655, allocations: 3.984 kB / 1.171 GB, free: 14.39 MB / 0.9044 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.597e-05/0.6551, allocations: 117.8 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.6551, allocations: 11.88 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.708e-05/0.6551, allocations: 20.36 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.6551, allocations: 8 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6551, allocations: 3.984 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6552, allocations: 4 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.6553, allocations: 169.6 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6553, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-06/0.6553, allocations: 3.938 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.6553, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.6553, allocations: 3.984 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.6553, allocations: 4 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.6553, allocations: 4 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.6555, allocations: 125 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.6555, allocations: 85 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.6555, allocations: 4 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-06/0.6555, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.6556, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.6556, allocations: 4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.203e-05/0.6556, allocations: 107.2 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.865e-06/0.6556, allocations: 4.031 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002527/0.6559, allocations: 71.75 kB / 1.172 GB, free: 13.55 MB / 0.9044 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.0005647/0.6565, allocations: 0.741 MB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.6566, allocations: 75.84 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6566, allocations: 4.094 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.6566, allocations: 32 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.6568, allocations: 2.969 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.6572, allocations: 255.5 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.6575, allocations: 0.6924 MB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.122e-05/0.6575, allocations: 9.688 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.6575, allocations: 19.42 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.6575, allocations: 0 / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.763/4.42, allocations: 2.836 MB / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/16.98, allocations: 5.812 kB / 1.177 GB, free: 9.008 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches