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.0012/0.0012, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.296/2.296, allocations: 390.3 MB / 0.6647 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 0.8127 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6/0.6014, allocations: 140.4 MB / 0.9498 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001928/0.6033, allocations: 1.246 MB / 0.951 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.6044, allocations: 0.8821 MB / 0.9518 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.6045, allocations: 0 / 0.9518 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.6045, allocations: 0 / 0.9518 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.664e-05/0.6046, allocations: 41.67 kB / 0.9519 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006275/0.6052, allocations: 240.4 kB / 0.9521 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.359e-05/0.6053, allocations: 32.48 kB / 0.9521 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.6053, allocations: 5.188 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.6054, allocations: 20.02 kB / 0.9522 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.6055, allocations: 46.75 kB / 0.9522 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.6055, allocations: 1.219 kB / 0.9522 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003404/0.6059, allocations: 275 kB / 0.9525 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.6059, allocations: 26.47 kB / 0.9525 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.6059, allocations: 11.72 kB / 0.9525 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.6062, allocations: 241.3 kB / 0.9527 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6062, allocations: 1.188 kB / 0.9527 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6062, allocations: 0 / 0.9527 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6062, allocations: 0 / 0.9527 GB, free: 6.98 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.0002707/0.6065, allocations: 388.5 kB / 0.9531 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.6065, allocations: 9.594 kB / 0.9531 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.101e-05/0.6066, allocations: 39.81 kB / 0.9532 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.6066, allocations: 7.156 kB / 0.9532 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.697e-05/0.6066, allocations: 180.5 kB / 0.9533 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-06/0.6067, allocations: 4.375 kB / 0.9533 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.6067, allocations: 1.781 kB / 0.9533 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.172e-05/0.6068, allocations: 55.59 kB / 0.9534 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.6068, allocations: 0.9375 kB / 0.9534 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.6068, allocations: 0 / 0.9534 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.6068, allocations: 13.67 kB / 0.9534 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.323e-05/0.6069, allocations: 33.27 kB / 0.9534 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.607, allocations: 172.8 kB / 0.9536 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.826e-05/0.6071, allocations: 53.47 kB / 0.9537 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.6071, allocations: 39.44 kB / 0.9537 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.6071, allocations: 0 / 0.9537 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.044e-05/0.6071, allocations: 35.97 kB / 0.9537 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.6071, allocations: 0 / 0.9537 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0001674/0.6073, allocations: 131.3 kB / 0.9538 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.6073, allocations: 55.39 kB / 0.9539 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.6074, allocations: 129.9 kB / 0.954 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-06/0.6074, allocations: 30.95 kB / 0.9541 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.089e-05/0.6074, allocations: 94.38 kB / 0.9541 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.6075, allocations: 27.58 kB / 0.9542 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.6075, allocations: 21.73 kB / 0.9542 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.595e-05/0.6075, allocations: 323.1 kB / 0.9545 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.6076, allocations: 24.48 kB / 0.9545 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.6076, allocations: 28.42 kB / 0.9546 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.907e-05/0.6077, allocations: 69.89 kB / 0.9546 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.6077, allocations: 4.031 kB / 0.9546 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.057e-05/0.6078, allocations: 107 kB / 0.9547 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.6078, allocations: 5.531 kB / 0.9547 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6078, allocations: 9.359 kB / 0.9547 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.6078, allocations: 0 / 0.9547 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.6078, allocations: 0 / 0.9547 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.6078, allocations: 0 / 0.9547 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/0.6079, allocations: 13.41 kB / 0.9547 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.6079, allocations: 3.156 kB / 0.9548 GB, free: 5.102 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.901e-05/0.6079, allocations: 123 kB / 0.9549 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-06/0.6079, allocations: 6.594 kB / 0.9549 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.162e-05/0.608, allocations: 11.48 kB / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.608, allocations: 13 kB / 0.9549 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.608, allocations: 3.562 kB / 0.9549 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.608, allocations: 0 / 0.9549 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.95e-05/0.6081, allocations: 176.3 kB / 0.9551 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6081, allocations: 0 / 0.9551 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.6081, allocations: 3.938 kB / 0.9551 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.6081, allocations: 0 / 0.9551 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.6081, allocations: 1.156 kB / 0.9551 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6081, allocations: 5.406 kB / 0.9551 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6081, allocations: 0 / 0.9551 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.902e-05/0.6082, allocations: 127.2 kB / 0.9552 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.6083, allocations: 86.3 kB / 0.9553 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.6083, allocations: 1.375 kB / 0.9553 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.036e-05/0.6083, allocations: 0 / 0.9553 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.6083, allocations: 1.156 kB / 0.9553 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.6083, allocations: 2.125 kB / 0.9553 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.6084, allocations: 108.4 kB / 0.9554 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6084, allocations: 0 / 0.9554 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002811/0.6086, allocations: 74.12 kB / 0.9555 GB, free: 4.453 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.0004077/0.6091, allocations: 0.7348 MB / 0.9562 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.802e-05/0.6092, allocations: 71.45 kB / 0.9562 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6092, allocations: 1.375 kB / 0.9563 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-05/0.6092, allocations: 36.17 kB / 0.9563 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.6093, allocations: 0 / 0.9563 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.6098, allocations: 264.9 kB / 0.9565 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.523e-05/0.6099, allocations: 0.6975 MB / 0.9572 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.6099, allocations: 3.844 kB / 0.9572 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.6099, allocations: 25.55 kB / 0.9572 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6099, allocations: 0 / 0.9572 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.627, allocations: 2.806 MB / 0.96 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/8.272, allocations: 15.44 kB / 0.96 GB, free: 1.41 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