Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.288/2.288, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001244/0.001244, allocations: 190.6 kB / 0.4901 GB, free: 2.234 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.664/1.664, allocations: 223.1 MB / 0.7992 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 101.5 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 13.61 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2879, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.4833, allocations: 152.2 MB / 1.378 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.4837, allocations: 111.9 kB / 1.378 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01198/0.4957, allocations: 3.829 MB / 1.382 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.496e-06/0.4958, allocations: 0 / 1.382 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.4958, allocations: 0 / 1.382 GB, free: 8.988 MB / 0.8855 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.0004593/0.4963, allocations: 414.9 kB / 1.382 GB, free: 8.535 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4963, allocations: 12.52 kB / 1.382 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.4964, allocations: 34.55 kB / 1.382 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.4964, allocations: 7.906 kB / 1.382 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4965, allocations: 167 kB / 1.382 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.4966, allocations: 3.938 kB / 1.382 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.4966, allocations: 0 / 1.382 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.4967, allocations: 73.66 kB / 1.382 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.4968, allocations: 0 / 1.382 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.4968, allocations: 0 / 1.382 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.4968, allocations: 12 kB / 1.382 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.822e-05/0.4969, allocations: 31.98 kB / 1.383 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.4971, allocations: 185.5 kB / 1.383 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.099e-05/0.4972, allocations: 66.58 kB / 1.383 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.4972, allocations: 0 / 1.383 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.4972, allocations: 34.56 kB / 1.383 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.4973, allocations: 0 / 1.383 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0003077/0.4976, allocations: 230.8 kB / 1.383 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.4976, allocations: 51.69 kB / 1.383 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.4977, allocations: 120.9 kB / 1.383 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.4978, allocations: 25.7 kB / 1.383 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.4978, allocations: 96.06 kB / 1.383 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.4979, allocations: 31.47 kB / 1.383 GB, free: 7.199 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.4979, allocations: 3.984 kB / 1.383 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.498, allocations: 326.8 kB / 1.384 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.4981, allocations: 32.02 kB / 1.384 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.973e-05/0.4981, allocations: 35.97 kB / 1.384 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.477e-05/0.4982, allocations: 35.98 kB / 1.384 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4982, allocations: 0 / 1.384 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001441/0.4983, allocations: 117.5 kB / 1.384 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4983, allocations: 4 kB / 1.384 GB, free: 6.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4984, allocations: 0 / 1.384 GB, free: 6.641 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4984, allocations: 0 / 1.384 GB, free: 6.641 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.875e-06/0.4984, allocations: 3.984 kB / 1.384 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4984, allocations: 0 / 1.384 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.4984, allocations: 8.062 kB / 1.384 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.4985, allocations: 4 kB / 1.384 GB, free: 6.625 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.847e-05/0.4985, allocations: 121.8 kB / 1.384 GB, free: 6.496 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.4986, allocations: 7.906 kB / 1.384 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.4986, allocations: 8.375 kB / 1.384 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.4986, allocations: 4 kB / 1.384 GB, free: 6.477 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4986, allocations: 0 / 1.384 GB, free: 6.477 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4986, allocations: 0 / 1.384 GB, free: 6.477 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.4988, allocations: 189.5 kB / 1.384 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4988, allocations: 4 kB / 1.384 GB, free: 6.238 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-06/0.4988, allocations: 7.984 kB / 1.384 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4988, allocations: 0 / 1.384 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.4988, allocations: 0 / 1.384 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4988, allocations: 0 / 1.384 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4989, allocations: 4.078 kB / 1.384 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.499, allocations: 136.9 kB / 1.384 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.4991, allocations: 84.97 kB / 1.384 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.4991, allocations: 11.97 kB / 1.384 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.232e-05/0.4991, allocations: 3.938 kB / 1.384 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.4991, allocations: 3.984 kB / 1.384 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.4991, allocations: 4 kB / 1.384 GB, free: 5.949 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.248e-05/0.4992, allocations: 103.6 kB / 1.385 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4992, allocations: 0 / 1.385 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000348/0.4996, allocations: 83.92 kB / 1.385 GB, free: 5.766 MB / 0.8855 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 (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.0006705/0.5003, allocations: 0.7457 MB / 1.385 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.5004, allocations: 67.97 kB / 1.385 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5004, allocations: 0 / 1.385 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.513e-05/0.5004, allocations: 35.98 kB / 1.385 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.5005, allocations: 1.75 kB / 1.385 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.5011, allocations: 284 kB / 1.386 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.5014, allocations: 0.7004 MB / 1.386 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.5014, allocations: 8 kB / 1.386 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.5015, allocations: 19.44 kB / 1.386 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of SimCode: time 4.4e-07/0.5015, allocations: 0 / 1.386 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.5155, allocations: 2.564 MB / 1.389 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/0.5158, allocations: 272 kB / 1.389 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.054, allocations: 4.062 kB / 1.389 GB, free: 1.117 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat does not exist to compare? outputFormat=mat