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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001542/0.001542, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001493/0.001493, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.267/1.267, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.162/2.162, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5133/0.5145, allocations: 140.4 MB / 0.9491 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001773/0.5163, allocations: 1.299 MB / 0.9504 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.5174, allocations: 0.9233 MB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.208e-05/0.5174, allocations: 0 / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.5174, allocations: 1.438 kB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.5175, allocations: 34.81 kB / 0.9513 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.518, allocations: 195.4 kB / 0.9515 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.782e-05/0.5181, allocations: 33.52 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.042e-05/0.5181, allocations: 1.219 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.5181, allocations: 19.39 kB / 0.9515 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.5182, allocations: 47.94 kB / 0.9516 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.5182, allocations: 0 / 0.9516 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.5186, allocations: 279.7 kB / 0.9518 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.5186, allocations: 23.19 kB / 0.9519 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.5186, allocations: 15.31 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.5189, allocations: 251.5 kB / 0.9521 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.5189, allocations: 0 / 0.9521 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.22e-07/0.5189, allocations: 0 / 0.9521 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.5189, allocations: 0 / 0.9521 GB, free: 7.02 MB / 0.7169 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.000256/0.5192, allocations: 388.9 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.5192, allocations: 9.656 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.127e-05/0.5192, allocations: 32.44 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.865e-05/0.5193, allocations: 10.38 kB / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.679e-05/0.5193, allocations: 180.4 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-06/0.5193, allocations: 1.469 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-06/0.5193, allocations: 384 / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.435e-05/0.5194, allocations: 68.23 kB / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-06/0.5194, allocations: 0 / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-06/0.5195, allocations: 0.9062 kB / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.5195, allocations: 9.5 kB / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.42e-05/0.5195, allocations: 29.27 kB / 0.9528 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.5197, allocations: 177.5 kB / 0.953 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.574e-05/0.5197, allocations: 49.75 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.5197, allocations: 34.52 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.5198, allocations: 5.781 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.2e-05/0.5198, allocations: 42.48 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.5198, allocations: 0 / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0001521/0.5199, allocations: 127 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.513e-05/0.52, allocations: 55.44 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.52, allocations: 134.2 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-06/0.52, allocations: 25.7 kB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.783e-05/0.5201, allocations: 87.7 kB / 0.9535 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.5201, allocations: 35.09 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.5201, allocations: 18.38 kB / 0.9536 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.5202, allocations: 325.6 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.5202, allocations: 25.39 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.5202, allocations: 33.2 kB / 0.9539 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.5203, allocations: 69.73 kB / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5203, allocations: 3.938 kB / 0.954 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.589e-05/0.5204, allocations: 106.5 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.5204, allocations: 6.969 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.5204, allocations: 0 / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.5204, allocations: 0 / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.5204, allocations: 1.344 kB / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.5204, allocations: 0 / 0.9541 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.5204, allocations: 9.25 kB / 0.9541 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.5205, allocations: 6.219 kB / 0.9541 GB, free: 5.145 MB / 0.7169 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 4.477e-05/0.5205, allocations: 119.4 kB / 0.9543 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.5205, allocations: 5.406 kB / 0.9543 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.018e-05/0.5205, allocations: 8.75 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.5206, allocations: 13.02 kB / 0.9543 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5206, allocations: 0 / 0.9543 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.5206, allocations: 5.375 kB / 0.9543 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.523e-05/0.5207, allocations: 177.4 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5207, allocations: 0 / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-06/0.5207, allocations: 9.469 kB / 0.9545 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.5207, allocations: 0 / 0.9545 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.5207, allocations: 0 / 0.9545 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5207, allocations: 1.312 kB / 0.9545 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5207, allocations: 0 / 0.9545 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.965e-05/0.5208, allocations: 123.9 kB / 0.9546 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.5208, allocations: 90.34 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.5208, allocations: 1.156 kB / 0.9547 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.5208, allocations: 7.969 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.5209, allocations: 1.406 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.5209, allocations: 2.781 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.5209, allocations: 104 kB / 0.9548 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5209, allocations: 0 / 0.9548 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002691/0.5212, allocations: 83.14 kB / 0.9549 GB, free: 4.488 MB / 0.7169 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.0003802/0.5216, allocations: 0.7285 MB / 0.9556 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.319e-05/0.5217, allocations: 65.06 kB / 0.9556 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5217, allocations: 1.438 kB / 0.9556 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.5217, allocations: 35.02 kB / 0.9557 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.5218, allocations: 6.922 kB / 0.9557 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.5222, allocations: 275.3 kB / 0.9559 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.89e-05/0.5223, allocations: 0.6975 MB / 0.9566 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.5223, allocations: 8.062 kB / 0.9566 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.5224, allocations: 16.69 kB / 0.9566 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.5224, allocations: 1.312 kB / 0.9566 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.449/1.972, allocations: 2.697 MB / 0.9593 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/1.972, allocations: 282.4 kB / 0.9595 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/4.628, allocations: 2.438 kB / 0.9595 GB, free: 1.199 MB / 0.7169 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