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.000858/0.0008579, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004893/0.004893, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.261/1.261, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.177/2.177, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.6172, allocations: 142.4 MB / 0.9552 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001211/0.6184, allocations: 0.9765 MB / 0.9562 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.6196, allocations: 0.9014 MB / 0.957 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.457e-05/0.6197, allocations: 0 / 0.957 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.6197, allocations: 1.219 kB / 0.957 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.6198, allocations: 35.27 kB / 0.9571 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.6204, allocations: 195.6 kB / 0.9573 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.6204, allocations: 33.03 kB / 0.9573 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.6205, allocations: 5.453 kB / 0.9573 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.6205, allocations: 15.48 kB / 0.9573 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.6206, allocations: 52.5 kB / 0.9574 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.6206, allocations: 3.984 kB / 0.9574 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.621, allocations: 271.7 kB / 0.9576 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.621, allocations: 22.02 kB / 0.9576 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.6211, allocations: 42.61 kB / 0.9577 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.6213, allocations: 245.6 kB / 0.9579 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6213, allocations: 1.188 kB / 0.9579 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6214, allocations: 0 / 0.9579 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6214, allocations: 0 / 0.9579 GB, free: 5.738 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.0002785/0.6216, allocations: 380.8 kB / 0.9583 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.6217, allocations: 10.28 kB / 0.9583 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.6217, allocations: 35.78 kB / 0.9583 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.6217, allocations: 11.28 kB / 0.9583 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.473e-05/0.6218, allocations: 183.6 kB / 0.9585 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.6219, allocations: 1.531 kB / 0.9585 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-06/0.6219, allocations: 384 / 0.9585 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.622, allocations: 60.78 kB / 0.9586 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.622, allocations: 3.938 kB / 0.9586 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.622, allocations: 0 / 0.9586 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.622, allocations: 13.89 kB / 0.9586 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.6221, allocations: 25.66 kB / 0.9586 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.6222, allocations: 177 kB / 0.9588 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/0.6223, allocations: 50.19 kB / 0.9588 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.6223, allocations: 37.88 kB / 0.9589 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.6223, allocations: 1.406 kB / 0.9589 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.6224, allocations: 34.5 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.6224, allocations: 1.188 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0001866/0.6226, allocations: 130.2 kB / 0.959 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.6226, allocations: 60.8 kB / 0.9591 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.6227, allocations: 125.2 kB / 0.9592 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.6227, allocations: 27.08 kB / 0.9592 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.6227, allocations: 90.88 kB / 0.9593 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.6228, allocations: 30.22 kB / 0.9593 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/0.6228, allocations: 16.45 kB / 0.9594 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.6228, allocations: 317.6 kB / 0.9597 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.753e-05/0.6229, allocations: 28.61 kB / 0.9597 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.6229, allocations: 33.98 kB / 0.9597 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.511e-05/0.623, allocations: 73.27 kB / 0.9598 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.623, allocations: 1.375 kB / 0.9598 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.844e-05/0.6231, allocations: 105.6 kB / 0.9599 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.6231, allocations: 4.125 kB / 0.9599 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6231, allocations: 5.312 kB / 0.9599 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.6231, allocations: 0 / 0.9599 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.6231, allocations: 0 / 0.9599 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.6231, allocations: 1.375 kB / 0.9599 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.6231, allocations: 3.938 kB / 0.9599 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.6232, allocations: 6.812 kB / 0.9599 GB, free: 3.875 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 5.679e-05/0.6232, allocations: 127.4 kB / 0.96 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.6232, allocations: 10.59 kB / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.452e-05/0.6232, allocations: 7.125 kB / 0.9601 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.6233, allocations: 13.61 kB / 0.9601 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6233, allocations: 1.375 kB / 0.9601 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.6233, allocations: 0 / 0.9601 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.465e-05/0.6234, allocations: 170.2 kB / 0.9602 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6234, allocations: 0 / 0.9602 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-07/0.6234, allocations: 7.938 kB / 0.9602 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.6234, allocations: 1.375 kB / 0.9602 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.6234, allocations: 0 / 0.9602 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.6234, allocations: 1.375 kB / 0.9602 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6234, allocations: 0 / 0.9602 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.839e-05/0.6235, allocations: 130.6 kB / 0.9604 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.6236, allocations: 91.7 kB / 0.9605 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.6236, allocations: 4 kB / 0.9605 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.06e-05/0.6236, allocations: 5.406 kB / 0.9605 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-06/0.6236, allocations: 5.359 kB / 0.9605 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.6236, allocations: 1.375 kB / 0.9605 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.6237, allocations: 99.77 kB / 0.9606 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6237, allocations: 1.375 kB / 0.9606 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002662/0.6239, allocations: 74.52 kB / 0.9606 GB, free: 3.219 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.000421/0.6244, allocations: 0.7383 MB / 0.9614 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.768e-05/0.6245, allocations: 63.08 kB / 0.9614 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6245, allocations: 3.938 kB / 0.9614 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.6245, allocations: 36.08 kB / 0.9615 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.6246, allocations: 2.453 kB / 0.9615 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.6251, allocations: 281.5 kB / 0.9617 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.6252, allocations: 0.6979 MB / 0.9624 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.504e-05/0.6252, allocations: 8.75 kB / 0.9624 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.6253, allocations: 15.2 kB / 0.9624 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6253, allocations: 0 / 0.9624 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.639, allocations: 2.629 MB / 0.965 GB, free: 400 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.6392, allocations: 289.1 kB / 0.9653 GB, free: 8 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.39, allocations: 0 / 0.9653 GB, free: 8 kB / 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