Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.643/2.643, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001259/0.001259, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.674/1.674, allocations: 221.3 MB / 0.7915 GB, free: 5.348 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.00103/0.00103, allocations: 87.97 kB / 0.9317 GB, free: 5.668 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.241e-05/5.282e-05, allocations: 6.656 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3288, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.412, allocations: 151 MB / 1.366 GB, free: 2.984 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/1.413, allocations: 104.5 kB / 1.366 GB, free: 2.918 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00371/1.416, allocations: 1.342 MB / 1.368 GB, free: 1.742 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.343e-06/1.416, allocations: 0 / 1.368 GB, free: 1.742 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.416, allocations: 0 / 1.368 GB, free: 1.742 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003288/1.417, allocations: 343 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.417, allocations: 12.03 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/1.417, allocations: 30.56 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/1.417, allocations: 7.859 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/1.417, allocations: 176.3 kB / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/1.417, allocations: 0 / 1.368 GB, free: 1.102 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/1.417, allocations: 4 kB / 1.368 GB, free: 1.098 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/1.417, allocations: 43.36 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.417, allocations: 3.984 kB / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/1.417, allocations: 0 / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.417, allocations: 0 / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/1.417, allocations: 7.188 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/1.418, allocations: 179.8 kB / 1.369 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.687e-05/1.418, allocations: 40.41 kB / 1.369 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/1.418, allocations: 21.7 kB / 1.369 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/1.418, allocations: 0 / 1.369 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/1.418, allocations: 45.5 kB / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/1.418, allocations: 0 / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001218/1.418, allocations: 37.69 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/1.418, allocations: 77.11 kB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/1.418, allocations: 130.6 kB / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/1.418, allocations: 29.64 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/1.418, allocations: 91.12 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/1.418, allocations: 11.91 kB / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/1.418, allocations: 3.375 kB / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.418, allocations: 314.8 kB / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.572e-05/1.418, allocations: 26.17 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/1.418, allocations: 26.3 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/1.418, allocations: 27.38 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.418, allocations: 0 / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001205/1.419, allocations: 94.45 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.419, allocations: 8 kB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/1.419, allocations: 4 kB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.419, allocations: 0 / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.672e-05/1.419, allocations: 7.984 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/1.419, allocations: 0 / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/1.419, allocations: 7.844 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/1.419, allocations: 4 kB / 1.37 GB, free: 15.79 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.67e-05/1.419, allocations: 112.4 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/1.419, allocations: 3.906 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/1.419, allocations: 7.656 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/1.419, allocations: 4 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.419, allocations: 0 / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.419, allocations: 0 / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/1.419, allocations: 167.2 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.419, allocations: 3.984 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/1.419, allocations: 4 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.419, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/1.419, allocations: 4 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.419, allocations: 0 / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/1.419, allocations: 0.875 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.417e-05/1.419, allocations: 91.28 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/1.419, allocations: 84.39 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/1.419, allocations: 0 / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/1.419, allocations: 4.094 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/1.419, allocations: 3.984 kB / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/1.419, allocations: 0 / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.423e-05/1.419, allocations: 114.1 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.419, allocations: 0 / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000196/1.42, allocations: 19.62 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004468/1.42, allocations: 0.7155 MB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001423/1.42, allocations: 90.86 kB / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.42, allocations: 0 / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/1.42, allocations: 4 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/1.42, allocations: 1.094 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/1.421, allocations: 136 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/1.421, allocations: 0.6928 MB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.763e-05/1.421, allocations: 0 / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/1.421, allocations: 18.67 kB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.421, allocations: 3.938 kB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01251/1.434, allocations: 1.439 MB / 1.373 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/1.434, allocations: 216.7 kB / 1.373 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/3.04, allocations: 4.062 kB / 1.373 GB, free: 11.95 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat does not exist to compare? outputFormat=mat