Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.136/2.136, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001046/0.001046, allocations: 175.7 kB / 498.1 MB, free: 5.75 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.392/1.392, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.0009202/0.0009202, allocations: 94.8 kB / 0.9346 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004143, allocations: 15.31 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2227, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.3842, allocations: 149.3 MB / 1.369 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.3845, allocations: 99.92 kB / 1.369 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001643/0.3862, allocations: 0.6971 MB / 1.37 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3862, allocations: 0 / 1.37 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3862, allocations: 3.938 kB / 1.37 GB, free: 11.93 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002455/0.3865, allocations: 319.4 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3865, allocations: 8.031 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.3866, allocations: 34.55 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.3866, allocations: 3.953 kB / 1.37 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.662e-05/0.3867, allocations: 163 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3867, allocations: 4 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3867, allocations: 4 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.559e-05/0.3868, allocations: 25.7 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3868, allocations: 0 / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.3869, allocations: 0 / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.3869, allocations: 0 / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.3869, allocations: 3.938 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.3872, allocations: 387.5 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.068e-05/0.3873, allocations: 165.1 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.3873, allocations: 75.28 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.3874, allocations: 113.9 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3874, allocations: 0 / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 6.707e-05/0.3874, allocations: 29.64 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.3875, allocations: 134.6 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.3876, allocations: 88.98 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3876, allocations: 29.7 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.3877, allocations: 84.05 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.3877, allocations: 0 / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.3877, allocations: 0 / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3878, allocations: 310.8 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-06/0.3878, allocations: 4.125 kB / 1.371 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-06/0.3878, allocations: 4 kB / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.777e-05/0.3878, allocations: 4 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3878, allocations: 0 / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.506e-05/0.3879, allocations: 33.64 kB / 1.372 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3879, allocations: 4 kB / 1.372 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.388, allocations: 4 kB / 1.372 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.388, allocations: 3.984 kB / 1.372 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.511e-05/0.388, allocations: 0 / 1.372 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.388, allocations: 96 / 1.372 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.3881, allocations: 11.89 kB / 1.372 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.3881, allocations: 0 / 1.372 GB, free: 9.691 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * 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 9.538e-05/0.3882, allocations: 189.5 kB / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.3882, allocations: 101 kB / 1.372 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.3883, allocations: 115.8 kB / 1.372 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.661e-05/0.3884, allocations: 184.2 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.338e-05/0.3885, allocations: 188.1 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.763e-05/0.3885, allocations: 176.3 kB / 1.372 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.3887, allocations: 398 kB / 1.373 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.454e-05/0.3888, allocations: 116.9 kB / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.3888, allocations: 101 kB / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.403e-05/0.3889, allocations: 188.2 kB / 1.373 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.389, allocations: 180.3 kB / 1.373 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.03e-05/0.3891, allocations: 180.3 kB / 1.374 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.751e-05/0.3891, allocations: 188.2 kB / 1.374 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.3893, allocations: 311.7 kB / 1.374 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.3894, allocations: 178.1 kB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/0.3894, allocations: 184.2 kB / 1.374 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.3895, allocations: 105 kB / 1.374 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.3896, allocations: 180.3 kB / 1.375 GB, free: 6.281 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.3896, allocations: 104.9 kB / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.3897, allocations: 79.28 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3897, allocations: 0 / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002109/0.3899, allocations: 4 kB / 1.375 GB, free: 6.09 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0004378/0.3903, allocations: 0.811 MB / 1.376 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.14e-05/0.3904, allocations: 8.031 kB / 1.376 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3904, allocations: 0 / 1.376 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-06/0.3904, allocations: 4 kB / 1.376 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3907, allocations: 0.5146 MB / 1.376 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.391, allocations: 187.8 kB / 1.376 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.3913, allocations: 0.6771 MB / 1.377 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.201e-05/0.3913, allocations: 0 / 1.377 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.3913, allocations: 7.438 kB / 1.377 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/0.3913, allocations: 0 / 1.377 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01078/0.4021, allocations: 0.7373 MB / 1.378 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.4024, allocations: 251.5 kB / 1.378 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/1.861, allocations: 2.812 kB / 1.378 GB, free: 2.934 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat does not exist to compare? outputFormat=mat