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.00161/0.001611, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00191/0.00191, allocations: 189.2 kB / 16.25 MB, free: 6.633 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.277/2.277, allocations: 390.2 MB / 0.6644 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5256/0.5271, allocations: 140.4 MB / 0.9493 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001881/0.529, allocations: 1.309 MB / 0.9506 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.5301, allocations: 0.8824 MB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/0.5301, allocations: 3.938 kB / 0.9514 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.5301, allocations: 1.406 kB / 0.9514 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.513e-05/0.5302, allocations: 31.69 kB / 0.9514 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.5308, allocations: 226.4 kB / 0.9517 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.1e-05/0.5309, allocations: 28.45 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.5309, allocations: 1.344 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.077e-05/0.5309, allocations: 19.64 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.5311, allocations: 49.91 kB / 0.9518 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.5311, allocations: 5.531 kB / 0.9518 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.5314, allocations: 283.2 kB / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.5314, allocations: 21.88 kB / 0.9521 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.5315, allocations: 13.41 kB / 0.9521 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.5317, allocations: 236.3 kB / 0.9523 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5317, allocations: 1.469 kB / 0.9523 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5317, allocations: 0 / 0.9523 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.5317, allocations: 0 / 0.9523 GB, free: 6.898 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.0002721/0.532, allocations: 392.3 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5321, allocations: 9.031 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.291e-05/0.5321, allocations: 45.02 kB / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.5321, allocations: 7.062 kB / 0.9527 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.652e-05/0.5322, allocations: 175.9 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.5322, allocations: 4.312 kB / 0.9529 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.5322, allocations: 1.469 kB / 0.9529 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.105e-05/0.5323, allocations: 59.62 kB / 0.953 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.5323, allocations: 1.031 kB / 0.953 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.5323, allocations: 0 / 0.953 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.5324, allocations: 13.64 kB / 0.953 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.199e-05/0.5324, allocations: 32.7 kB / 0.953 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.5325, allocations: 169.1 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.027e-05/0.5326, allocations: 49.78 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.5326, allocations: 39.12 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.5326, allocations: 1.438 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.5327, allocations: 34.5 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.5327, allocations: 0 / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0001675/0.5328, allocations: 139.3 kB / 0.9534 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.5329, allocations: 51.41 kB / 0.9535 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.5329, allocations: 130.6 kB / 0.9536 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-06/0.5329, allocations: 29.69 kB / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.533, allocations: 87.2 kB / 0.9537 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.533, allocations: 31.55 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.533, allocations: 13.91 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.803e-05/0.5331, allocations: 321.7 kB / 0.9541 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.5331, allocations: 29.62 kB / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/0.5331, allocations: 33.55 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.987e-05/0.5332, allocations: 73.05 kB / 0.9542 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5332, allocations: 1.062 kB / 0.9542 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.856e-05/0.5333, allocations: 105 kB / 0.9543 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.5333, allocations: 5.25 kB / 0.9543 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5333, allocations: 5.062 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.5333, allocations: 0 / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.5333, allocations: 0 / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.5333, allocations: 1 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.5334, allocations: 16.8 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.5334, allocations: 2.438 kB / 0.9543 GB, free: 5.02 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.849e-05/0.5334, allocations: 123.4 kB / 0.9544 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.5334, allocations: 6.469 kB / 0.9544 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.173e-05/0.5335, allocations: 11.88 kB / 0.9544 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.5335, allocations: 13.02 kB / 0.9545 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5335, allocations: 3.984 kB / 0.9545 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.5335, allocations: 1.406 kB / 0.9545 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.526e-05/0.5336, allocations: 169.6 kB / 0.9546 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5336, allocations: 4 kB / 0.9546 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-06/0.5336, allocations: 5 kB / 0.9546 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.5336, allocations: 0 / 0.9546 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.5336, allocations: 5.359 kB / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.5336, allocations: 0 / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5336, allocations: 0 / 0.9546 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.998e-05/0.5337, allocations: 124 kB / 0.9548 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.5337, allocations: 87.52 kB / 0.9548 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.5338, allocations: 4.031 kB / 0.9548 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.5338, allocations: 0 / 0.9548 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-06/0.5338, allocations: 1.531 kB / 0.9548 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.5338, allocations: 10.8 kB / 0.9549 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.5338, allocations: 111.4 kB / 0.955 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5338, allocations: 0 / 0.955 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002624/0.5341, allocations: 67 kB / 0.955 GB, free: 4.367 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.0003932/0.5345, allocations: 0.735 MB / 0.9557 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.31e-05/0.5346, allocations: 71.62 kB / 0.9558 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.5346, allocations: 0 / 0.9558 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.5346, allocations: 32.12 kB / 0.9558 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.5348, allocations: 7.062 kB / 0.9559 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.5352, allocations: 277 kB / 0.9561 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.464e-05/0.5353, allocations: 0.6969 MB / 0.9568 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.283e-05/0.5353, allocations: 12.25 kB / 0.9568 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.5354, allocations: 18.2 kB / 0.9568 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.5354, allocations: 0 / 0.9568 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.267/2.803, allocations: 2.728 MB / 0.9595 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/2.803, allocations: 288.6 kB / 0.9598 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/4.355, allocations: 2.062 kB / 0.9598 GB, free: 1.059 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