Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001092/0.001091, allocations: 184.8 kB / 492.3 MB, free: 0.6133 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.433/1.433, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008768/0.0008768, allocations: 98 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.379e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2723, allocations: 142.3 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9044/1.177, allocations: 150.2 MB / 1.359 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/1.177, allocations: 99.84 kB / 1.359 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004862/1.182, allocations: 1.342 MB / 1.361 GB, free: 34.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.713e-06/1.182, allocations: 3.938 kB / 1.361 GB, free: 34.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.53e-05/1.182, allocations: 7.031 kB / 1.361 GB, free: 34.68 MB / 0.8386 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.0003326/1.182, allocations: 344.9 kB / 1.361 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/1.182, allocations: 11.28 kB / 1.361 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/1.183, allocations: 30.56 kB / 1.361 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/1.183, allocations: 1.5 kB / 1.361 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/1.183, allocations: 170.4 kB / 1.361 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/1.183, allocations: 0 / 1.361 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/1.183, allocations: 10.47 kB / 1.361 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/1.183, allocations: 44.67 kB / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/1.183, allocations: 0 / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/1.183, allocations: 0 / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.183, allocations: 0 / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.889e-05/1.183, allocations: 9.344 kB / 1.361 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/1.183, allocations: 187.9 kB / 1.361 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.062e-05/1.183, allocations: 36.94 kB / 1.361 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/1.183, allocations: 19.61 kB / 1.361 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/1.183, allocations: 3.312 kB / 1.361 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/1.183, allocations: 34.5 kB / 1.361 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/1.183, allocations: 5.312 kB / 1.362 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001508/1.183, allocations: 44.44 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/1.184, allocations: 77.11 kB / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/1.184, allocations: 129.3 kB / 1.362 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/1.184, allocations: 25.7 kB / 1.362 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/1.184, allocations: 92.91 kB / 1.362 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/1.184, allocations: 3.75 kB / 1.362 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/1.184, allocations: 3.906 kB / 1.362 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.184, allocations: 323.6 kB / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/1.184, allocations: 25.61 kB / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/1.184, allocations: 24.61 kB / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.141e-05/1.184, allocations: 28.34 kB / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.184, allocations: 3.938 kB / 1.362 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001289/1.184, allocations: 93.23 kB / 1.362 GB, free: 33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.184, allocations: 7.844 kB / 1.362 GB, free: 33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/1.184, allocations: 0 / 1.362 GB, free: 33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.184, allocations: 0 / 1.362 GB, free: 33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.338e-05/1.184, allocations: 9.438 kB / 1.362 GB, free: 33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/1.184, allocations: 0 / 1.362 GB, free: 33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.445e-05/1.184, allocations: 7.844 kB / 1.362 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/1.184, allocations: 3.844 kB / 1.362 GB, free: 32.99 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 7.233e-05/1.184, allocations: 108.9 kB / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/1.185, allocations: 7.781 kB / 1.362 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/1.185, allocations: 12.34 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.185, allocations: 0 / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.185, allocations: 0 / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/1.185, allocations: 4 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/1.185, allocations: 168.8 kB / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.185, allocations: 3.812 kB / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/1.185, allocations: 0.8125 kB / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/1.185, allocations: 3.844 kB / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/1.185, allocations: 1.359 kB / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.185, allocations: 0 / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.185, allocations: 0 / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.285e-05/1.185, allocations: 93.34 kB / 1.363 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/1.185, allocations: 86.41 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/1.185, allocations: 96 / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.711e-05/1.185, allocations: 0 / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/1.185, allocations: 8.609 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/1.185, allocations: 3.875 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.279e-05/1.185, allocations: 104.8 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.185, allocations: 4.031 kB / 1.363 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002077/1.185, allocations: 16.98 kB / 1.363 GB, free: 32.38 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.0004345/1.186, allocations: 0.705 MB / 1.364 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001459/1.186, allocations: 93.09 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/1.186, allocations: 3.844 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/1.186, allocations: 7.344 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/1.186, allocations: 0.9844 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/1.186, allocations: 133.9 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/1.187, allocations: 0.6886 MB / 1.365 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.142e-05/1.187, allocations: 5.438 kB / 1.365 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/1.187, allocations: 16.11 kB / 1.365 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.187, allocations: 0 / 1.365 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/1.199, allocations: 1.448 MB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/1.199, allocations: 215.4 kB / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.768, allocations: 0 / 1.366 GB, free: 30.45 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.mat does not exist to compare? outputFormat=mat