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.005123/0.005123, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001088/0.001089, allocations: 190.6 kB / 16.67 MB, free: 5.93 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 / 240.4 MB, free: 15.15 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.302/2.302, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7726/0.774, 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.002396/0.7765, allocations: 1.257 MB / 1.167 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.778, allocations: 0.8876 MB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.778, allocations: 0 / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.7781, allocations: 4 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.7782, allocations: 23.97 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008412/0.779, allocations: 256.7 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.509e-05/0.7791, allocations: 23.97 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.7792, allocations: 4 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.7792, allocations: 19.97 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.7794, allocations: 47.94 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.7794, allocations: 4 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.7799, allocations: 283.6 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.7799, allocations: 19.92 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.7799, allocations: 11.88 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.7803, allocations: 241.7 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7803, allocations: 0 / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7803, allocations: 0 / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.7803, allocations: 0 / 1.169 GB, free: 0.6836 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.0004107/0.7807, allocations: 391.2 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.7808, allocations: 12.92 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.7808, allocations: 46.67 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.7809, allocations: 8.844 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.781, allocations: 172.2 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.781, allocations: 4.312 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.781, allocations: 384 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.7812, allocations: 57.81 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.7812, allocations: 4 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.7812, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.7812, allocations: 15.97 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.7813, allocations: 27.98 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.7815, allocations: 173.6 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.925e-05/0.7815, allocations: 54.59 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.7816, allocations: 40.88 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/0.7816, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.7816, allocations: 34.5 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.7816, allocations: 0 / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0002108/0.7819, allocations: 133.7 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.7819, allocations: 51.41 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.782, allocations: 129.8 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.782, allocations: 29.7 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.7821, allocations: 84.14 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.7821, allocations: 39.44 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.7821, allocations: 13.72 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.7823, allocations: 322.8 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.7823, allocations: 32.02 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.7823, allocations: 28 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.7824, allocations: 81.02 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7824, allocations: 0 / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001107/0.7825, allocations: 97.52 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.7826, allocations: 6.5 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7826, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.7826, allocations: 4 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.297e-06/0.7826, allocations: 3.984 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.7826, allocations: 3.938 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.872e-05/0.7826, allocations: 8 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.7826, allocations: 8 kB / 1.171 GB, free: 14.38 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.511e-05/0.7827, allocations: 117.8 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.7827, allocations: 11.84 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.452e-05/0.7828, allocations: 8.375 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.7828, allocations: 15.98 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.7828, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.7828, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.7829, allocations: 165.7 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.7829, allocations: 4 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-06/0.783, allocations: 7.922 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.783, allocations: 0 / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.783, allocations: 4 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.783, allocations: 0 / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.783, allocations: 0 / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.7831, allocations: 121 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.7832, allocations: 88.95 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.7832, allocations: 7.969 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.7832, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.7832, allocations: 7.984 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.7832, allocations: 4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.7833, allocations: 99.27 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7833, allocations: 0 / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003084/0.7836, allocations: 71.92 kB / 1.172 GB, free: 13.56 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.0005855/0.7842, allocations: 0.7411 MB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.7843, allocations: 67.97 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7843, allocations: 0 / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.439e-05/0.7844, allocations: 39.92 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.0001392/0.7845, allocations: 4 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.000497/0.785, allocations: 255.9 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.7852, allocations: 0.6924 MB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.7853, allocations: 13.48 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.7853, allocations: 15.44 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.7853, allocations: 0 / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.8046, allocations: 2.843 MB / 1.176 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/8.033, allocations: 5.812 kB / 1.176 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=50 --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