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.126/2.126, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001164/0.001164, allocations: 169.2 kB / 498.1 MB, free: 5.734 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.372/1.372, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.0008949/0.0008946, allocations: 96.31 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 10.47 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2235, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.3906, allocations: 151.4 MB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.3909, allocations: 111.9 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01145/0.4024, allocations: 3.839 MB / 1.375 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4024, allocations: 0 / 1.375 GB, free: 6.59 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.4024, allocations: 0 / 1.375 GB, free: 6.59 MB / 0.8698 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.0004618/0.4029, allocations: 399 kB / 1.375 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.403, allocations: 12.03 kB / 1.375 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.403, allocations: 34.56 kB / 1.375 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.403, allocations: 3.906 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.4032, allocations: 175 kB / 1.375 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.4032, allocations: 0 / 1.375 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.4032, allocations: 4 kB / 1.375 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.4033, allocations: 65.61 kB / 1.375 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.4034, allocations: 0 / 1.375 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4034, allocations: 3.938 kB / 1.375 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.4034, allocations: 15.94 kB / 1.375 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.787e-05/0.4035, allocations: 31.98 kB / 1.375 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.4037, allocations: 193.4 kB / 1.376 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.756e-05/0.4038, allocations: 58.55 kB / 1.376 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-06/0.4038, allocations: 0 / 1.376 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.4038, allocations: 34.69 kB / 1.376 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.4038, allocations: 0 / 1.376 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0002892/0.4041, allocations: 234.7 kB / 1.376 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.4042, allocations: 55.34 kB / 1.376 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.4043, allocations: 117 kB / 1.376 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.4043, allocations: 25.7 kB / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.4043, allocations: 92.12 kB / 1.376 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.4044, allocations: 27.56 kB / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.4044, allocations: 0 / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4045, allocations: 322.8 kB / 1.377 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-05/0.4046, allocations: 33.08 kB / 1.377 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.4046, allocations: 39.97 kB / 1.377 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.555e-05/0.4047, allocations: 35.98 kB / 1.377 GB, free: 4.387 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4047, allocations: 4 kB / 1.377 GB, free: 4.383 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001322/0.4048, allocations: 113.9 kB / 1.377 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4048, allocations: 8.609 kB / 1.377 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4049, allocations: 0 / 1.377 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4049, allocations: 3.938 kB / 1.377 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.4049, allocations: 0 / 1.377 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4049, allocations: 0 / 1.377 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.4049, allocations: 4 kB / 1.377 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.4049, allocations: 8.062 kB / 1.377 GB, free: 4.242 MB / 0.8698 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.497e-05/0.405, allocations: 125.6 kB / 1.377 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.405, allocations: 7.906 kB / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/0.4051, allocations: 8.375 kB / 1.377 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.4051, allocations: 7.984 kB / 1.377 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4051, allocations: 0 / 1.377 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4051, allocations: 0 / 1.377 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.4053, allocations: 185.5 kB / 1.377 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4053, allocations: 4 kB / 1.377 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.4053, allocations: 4 kB / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4053, allocations: 0 / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.4053, allocations: 0 / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4053, allocations: 0 / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4053, allocations: 0 / 1.377 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.4055, allocations: 137 kB / 1.377 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.4055, allocations: 92.89 kB / 1.377 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.4055, allocations: 4 kB / 1.377 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.186e-05/0.4056, allocations: 4.031 kB / 1.377 GB, free: 3.574 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.4056, allocations: 3.984 kB / 1.377 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.4056, allocations: 4 kB / 1.377 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.616e-05/0.4057, allocations: 99.7 kB / 1.377 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4057, allocations: 0 / 1.377 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003156/0.406, allocations: 83.92 kB / 1.377 GB, free: 3.387 MB / 0.8698 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.0006943/0.4067, allocations: 0.7449 MB / 1.378 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4068, allocations: 71.91 kB / 1.378 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4068, allocations: 3.938 kB / 1.378 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.27e-05/0.4069, allocations: 35.98 kB / 1.378 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.586e-05/0.407, allocations: 336 / 1.378 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.4075, allocations: 279 kB / 1.379 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.4077, allocations: 0.7043 MB / 1.379 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.4078, allocations: 4 kB / 1.379 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.009e-05/0.4078, allocations: 23.42 kB / 1.379 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/0.4078, allocations: 0 / 1.379 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.4217, allocations: 2.564 MB / 1.382 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/0.422, allocations: 255.4 kB / 1.382 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.989, allocations: 5.812 kB / 1.382 GB, free: 14.76 MB / 0.8855 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