Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.235/2.235, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001131/0.001131, allocations: 181.4 kB / 498.1 MB, free: 5.738 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.494/1.494, allocations: 223.2 MB / 0.7948 GB, free: 18.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.0009605/0.0009602, allocations: 96.03 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004088, allocations: 11.45 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2874, allocations: 142.4 MB / 1.223 GB, free: 89.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/0.4753, allocations: 153.7 MB / 1.373 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.4756, allocations: 114.2 kB / 1.373 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01855/0.4942, allocations: 6.325 MB / 1.379 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4943, allocations: 0 / 1.379 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4943, allocations: 4 kB / 1.379 GB, free: 9.074 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004594/0.4947, allocations: 399.1 kB / 1.38 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4948, allocations: 11.97 kB / 1.38 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.4948, allocations: 34.56 kB / 1.38 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.4949, allocations: 15.84 kB / 1.38 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.495, allocations: 171 kB / 1.38 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.495, allocations: 4 kB / 1.38 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.495, allocations: 0 / 1.38 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.4952, allocations: 37.69 kB / 1.38 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4952, allocations: 0 / 1.38 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.4952, allocations: 0 / 1.38 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.4952, allocations: 0 / 1.38 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.748e-05/0.4952, allocations: 12 kB / 1.38 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.4954, allocations: 161.6 kB / 1.38 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.48e-05/0.4955, allocations: 50.58 kB / 1.38 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008637/0.4964, allocations: 0.9779 MB / 1.381 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.4964, allocations: 34.56 kB / 1.381 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4964, allocations: 0 / 1.381 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0001731/0.4966, allocations: 53.69 kB / 1.381 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.4967, allocations: 55.34 kB / 1.381 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.4967, allocations: 109 kB / 1.381 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.4967, allocations: 25.7 kB / 1.381 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.4968, allocations: 88.12 kB / 1.382 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.4968, allocations: 19.75 kB / 1.382 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.4968, allocations: 0 / 1.382 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.4969, allocations: 326.8 kB / 1.382 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.497, allocations: 4 kB / 1.382 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.444e-05/0.497, allocations: 4 kB / 1.382 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.854e-05/0.497, allocations: 12 kB / 1.382 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.497, allocations: 0 / 1.382 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.966e-05/0.4971, allocations: 49.59 kB / 1.382 GB, free: 6.012 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4971, allocations: 8 kB / 1.382 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4971, allocations: 0 / 1.382 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4972, allocations: 4 kB / 1.382 GB, free: 6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.4973, allocations: 15.98 kB / 1.382 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4973, allocations: 3.938 kB / 1.382 GB, free: 5.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.4973, allocations: 0 / 1.382 GB, free: 5.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4973, allocations: 7.938 kB / 1.382 GB, free: 5.973 MB / 0.8855 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 (4): * Single equations (assignments): 4 * 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 7.179e-05/0.4974, allocations: 117.6 kB / 1.382 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-06/0.4974, allocations: 0 / 1.382 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.4976, allocations: 65.89 kB / 1.382 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4976, allocations: 8 kB / 1.382 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4976, allocations: 0 / 1.382 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.4976, allocations: 0 / 1.382 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.4977, allocations: 161.6 kB / 1.382 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4977, allocations: 4 kB / 1.382 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.863e-05/0.4978, allocations: 15.98 kB / 1.382 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4978, allocations: 0 / 1.382 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.4978, allocations: 3.938 kB / 1.382 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4978, allocations: 0 / 1.382 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4978, allocations: 0 / 1.382 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.924e-05/0.4979, allocations: 84.98 kB / 1.382 GB, free: 5.43 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.498, allocations: 81.11 kB / 1.382 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.498, allocations: 0 / 1.382 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.404e-05/0.498, allocations: 0 / 1.382 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.498, allocations: 3.984 kB / 1.383 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.4981, allocations: 4 kB / 1.383 GB, free: 5.324 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.088e-05/0.4981, allocations: 83.28 kB / 1.383 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4981, allocations: 0 / 1.383 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002454/0.4984, allocations: 55.86 kB / 1.383 GB, free: 5.188 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 (4): * Single equations (assignments): 4 * 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.0005181/0.4989, allocations: 0.6785 MB / 1.383 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.095e-05/0.499, allocations: 16 kB / 1.383 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.499, allocations: 0 / 1.383 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.499, allocations: 19.92 kB / 1.383 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.4992, allocations: 8 kB / 1.383 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.4996, allocations: 221.5 kB / 1.384 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.4999, allocations: 0.6809 MB / 1.384 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.4999, allocations: 10.53 kB / 1.384 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.5, allocations: 19.42 kB / 1.384 GB, free: 3.441 MB / 0.8855 GB Notification: Performance of SimCode: time 4.71e-07/0.5, allocations: 0 / 1.384 GB, free: 3.441 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.5143, allocations: 1.877 MB / 1.386 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/0.5147, allocations: 264.2 kB / 1.386 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.019, allocations: 11.62 kB / 1.386 GB, free: 1.434 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat does not exist to compare? outputFormat=mat