Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.393/2.393, allocations: 393.5 MB / 408.4 MB, free: 11 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.00129/0.001291, allocations: 186.6 kB / 0.4901 GB, free: 2.238 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.589/1.589, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.001032/0.001032, allocations: 98.5 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003744, allocations: 8 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2859, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.4777, allocations: 150.1 MB / 1.376 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.478, allocations: 103.9 kB / 1.376 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001617/0.4796, allocations: 0.689 MB / 1.377 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.542e-06/0.4796, allocations: 0 / 1.377 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4796, allocations: 0 / 1.377 GB, free: 2.562 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.0002597/0.4799, allocations: 323.4 kB / 1.377 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.48, allocations: 8.562 kB / 1.377 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.48, allocations: 30.56 kB / 1.377 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.48, allocations: 3.953 kB / 1.377 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.4802, allocations: 163.1 kB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.4802, allocations: 7.938 kB / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.4802, allocations: 0 / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.572e-05/0.4803, allocations: 29.7 kB / 1.377 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.4803, allocations: 0 / 1.377 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.4803, allocations: 0 / 1.377 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4803, allocations: 0 / 1.377 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/0.4803, allocations: 0 / 1.377 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.4807, allocations: 387.5 kB / 1.378 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.271e-05/0.4808, allocations: 169.1 kB / 1.378 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.4808, allocations: 79.28 kB / 1.378 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.4808, allocations: 109.9 kB / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 2.614e-06/0.4808, allocations: 0 / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 6.585e-05/0.4809, allocations: 31.33 kB / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.481, allocations: 134.6 kB / 1.378 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.4811, allocations: 88.94 kB / 1.378 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.4811, allocations: 33.64 kB / 1.378 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.4811, allocations: 80.14 kB / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-06/0.4811, allocations: 3.984 kB / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.4811, allocations: 0 / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4812, allocations: 314.8 kB / 1.379 GB, free: 400 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-06/0.4813, allocations: 4.125 kB / 1.379 GB, free: 396 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.4813, allocations: 0 / 1.379 GB, free: 396 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.581e-05/0.4813, allocations: 4 kB / 1.379 GB, free: 392 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4813, allocations: 0 / 1.379 GB, free: 392 kB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.454e-05/0.4814, allocations: 29.7 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4814, allocations: 4 kB / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4814, allocations: 0 / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4815, allocations: 4 kB / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.119e-05/0.4815, allocations: 0 / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.4815, allocations: 4.094 kB / 1.379 GB, free: 344 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.4815, allocations: 7.938 kB / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.4815, allocations: 0 / 1.379 GB, free: 336 kB / 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.506e-05/0.4816, allocations: 189.9 kB / 1.379 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.4817, allocations: 109 kB / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.4818, allocations: 111.9 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.989e-05/0.4818, allocations: 184.2 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-05/0.4819, allocations: 184.2 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.407e-05/0.482, allocations: 180.2 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.4822, allocations: 405.2 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.542e-05/0.4823, allocations: 105 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.4823, allocations: 108.9 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.937e-05/0.4824, allocations: 180.3 kB / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.4825, allocations: 180.2 kB / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.524e-05/0.4825, allocations: 184.2 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.431e-05/0.4826, allocations: 180.3 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.4828, allocations: 311.7 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.4828, allocations: 185.9 kB / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.4829, allocations: 180.3 kB / 1.381 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.246e-05/0.483, allocations: 109 kB / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.4831, allocations: 180.2 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.4832, allocations: 101 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.826e-05/0.4832, allocations: 79.28 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4832, allocations: 0 / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000227/0.4834, allocations: 4 kB / 1.382 GB, free: 12.73 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 (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.0004303/0.4839, allocations: 0.8137 MB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.808e-05/0.484, allocations: 8.031 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.484, allocations: 4 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.484, allocations: 16 / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.4843, allocations: 0.528 MB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.4846, allocations: 179.8 kB / 1.383 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.4848, allocations: 0.6731 MB / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.268e-05/0.4849, allocations: 4 kB / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.4849, allocations: 7.438 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of SimCode: time 6.72e-07/0.4849, allocations: 0 / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.4965, allocations: 0.7624 MB / 1.385 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.4967, allocations: 262 kB / 1.385 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/1.951, allocations: 4 kB / 1.385 GB, free: 9.547 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat does not exist to compare? outputFormat=mat