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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 180.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009107/0.0009104, allocations: 95.52 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.16e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2306, allocations: 142.3 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9172/1.148, allocations: 150.7 MB / 1.353 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/1.148, allocations: 105.9 kB / 1.353 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01192/1.16, allocations: 3.805 MB / 1.357 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.455e-06/1.16, allocations: 0 / 1.357 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.16, allocations: 0 / 1.357 GB, free: 33.64 MB / 0.8386 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.000395/1.161, allocations: 394.9 kB / 1.357 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.161, allocations: 15.69 kB / 1.357 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/1.161, allocations: 3.906 kB / 1.357 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/1.161, allocations: 180.2 kB / 1.358 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/1.161, allocations: 0 / 1.358 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/1.161, allocations: 0 / 1.358 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.162e-05/1.161, allocations: 33.14 kB / 1.358 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.861e-05/1.161, allocations: 64.36 kB / 1.358 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/1.161, allocations: 3.938 kB / 1.358 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/1.161, allocations: 0 / 1.358 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/1.161, allocations: 11.73 kB / 1.358 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/1.161, allocations: 164.5 kB / 1.358 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.659e-05/1.161, allocations: 58.73 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/1.161, allocations: 45.77 kB / 1.358 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/1.161, allocations: 0 / 1.358 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/1.161, allocations: 30.56 kB / 1.358 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/1.161, allocations: 0 / 1.358 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0001929/1.162, allocations: 105.6 kB / 1.358 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/1.162, allocations: 63.03 kB / 1.358 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/1.162, allocations: 111.5 kB / 1.358 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/1.162, allocations: 25.7 kB / 1.358 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/1.162, allocations: 93.83 kB / 1.358 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/1.162, allocations: 33.31 kB / 1.358 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/1.162, allocations: 0 / 1.358 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.162, allocations: 321 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/1.162, allocations: 32.27 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/1.162, allocations: 36.06 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/1.162, allocations: 41.02 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.162, allocations: 0 / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001132/1.162, allocations: 114.3 kB / 1.359 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/1.162, allocations: 7.688 kB / 1.359 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.162, allocations: 0 / 1.359 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.162, allocations: 0 / 1.359 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/1.162, allocations: 0 / 1.359 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.162, allocations: 1.547 kB / 1.359 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/1.162, allocations: 3.844 kB / 1.359 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/1.162, allocations: 3.844 kB / 1.359 GB, free: 32.06 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.277e-05/1.162, allocations: 105 kB / 1.359 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001094/1.163, allocations: 119.1 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/1.163, allocations: 3.906 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/1.163, allocations: 11.66 kB / 1.359 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.163, allocations: 9.141 kB / 1.359 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.163, allocations: 5.406 kB / 1.359 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.163, allocations: 2.062 kB / 1.359 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/1.163, allocations: 154 kB / 1.359 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.163, allocations: 5.125 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/1.163, allocations: 4.031 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/1.163, allocations: 0 / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/1.163, allocations: 0 / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/1.163, allocations: 3.984 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.163, allocations: 1.875 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/1.163, allocations: 143 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/1.163, allocations: 84.97 kB / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/1.163, allocations: 0 / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/1.163, allocations: 8.594 kB / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/1.163, allocations: 5.391 kB / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/1.163, allocations: 3.844 kB / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.873e-05/1.163, allocations: 101.7 kB / 1.36 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.163, allocations: 0 / 1.36 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003382/1.163, allocations: 80.66 kB / 1.36 GB, free: 31.45 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005968/1.164, allocations: 0.7489 MB / 1.36 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001009/1.164, allocations: 63.7 kB / 1.361 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.164, allocations: 0 / 1.361 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/1.164, allocations: 39.5 kB / 1.361 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/1.164, allocations: 3.938 kB / 1.361 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/1.165, allocations: 203.3 kB / 1.361 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/1.165, allocations: 0.7035 MB / 1.361 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.625e-05/1.165, allocations: 3.844 kB / 1.361 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/1.165, allocations: 20.97 kB / 1.362 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.165, allocations: 0 / 1.362 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/1.187, allocations: 2.287 MB / 1.364 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/1.187, allocations: 218.9 kB / 1.364 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.899, allocations: 0.6094 kB / 1.364 GB, free: 29.55 MB / 0.8386 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat does not exist to compare? outputFormat=mat