Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.539/2.539, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.00115/0.00115, allocations: 172 kB / 0.4901 GB, free: 2.23 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.586/1.586, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001322/0.001323, allocations: 101.5 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003742, allocations: 11.44 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3231, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.529, allocations: 154.5 MB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/0.5295, allocations: 115.9 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01972/0.5492, allocations: 6.333 MB / 1.387 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.966e-06/0.5493, allocations: 0 / 1.387 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5493, allocations: 0 / 1.387 GB, free: 8.441 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.0005814/0.5499, allocations: 407 kB / 1.387 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.55, allocations: 16.52 kB / 1.387 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.55, allocations: 30.56 kB / 1.387 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.5501, allocations: 11.94 kB / 1.387 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.5502, allocations: 167 kB / 1.387 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.5502, allocations: 4 kB / 1.387 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.5503, allocations: 0 / 1.387 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.5504, allocations: 37.69 kB / 1.387 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.5504, allocations: 4 kB / 1.387 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.5504, allocations: 0 / 1.387 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.5504, allocations: 0 / 1.387 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.5505, allocations: 19.98 kB / 1.387 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.5507, allocations: 165.6 kB / 1.387 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.645e-05/0.5509, allocations: 38.52 kB / 1.387 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009707/0.5518, allocations: 0.9857 MB / 1.388 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.5519, allocations: 30.56 kB / 1.388 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.5519, allocations: 0 / 1.388 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002057/0.5521, allocations: 57.69 kB / 1.388 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.5521, allocations: 55.34 kB / 1.388 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.5522, allocations: 105 kB / 1.389 GB, free: 5.914 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.5523, allocations: 29.7 kB / 1.389 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.5523, allocations: 80.14 kB / 1.389 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.5523, allocations: 15.81 kB / 1.389 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.5524, allocations: 3.938 kB / 1.389 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5525, allocations: 318.8 kB / 1.389 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.5525, allocations: 8 kB / 1.389 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.5525, allocations: 7.938 kB / 1.389 GB, free: 5.441 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.5526, allocations: 4 kB / 1.389 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5526, allocations: 0 / 1.389 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.556e-05/0.5527, allocations: 57.69 kB / 1.389 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5527, allocations: 8 kB / 1.389 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5527, allocations: 0 / 1.389 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.5527, allocations: 0 / 1.389 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.5529, allocations: 19.92 kB / 1.389 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.5529, allocations: 0 / 1.389 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.5529, allocations: 3.938 kB / 1.389 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.5529, allocations: 4 kB / 1.389 GB, free: 5.34 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 8.22e-05/0.553, allocations: 113.8 kB / 1.389 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.5531, allocations: 7.906 kB / 1.389 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.5532, allocations: 61.58 kB / 1.389 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5532, allocations: 0 / 1.389 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5532, allocations: 4 kB / 1.389 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5532, allocations: 0 / 1.389 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.5534, allocations: 161.6 kB / 1.389 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5534, allocations: 4 kB / 1.389 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.5535, allocations: 15.92 kB / 1.389 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5535, allocations: 4 kB / 1.389 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.5535, allocations: 0 / 1.389 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5535, allocations: 4 kB / 1.389 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5535, allocations: 0 / 1.389 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.5536, allocations: 81.36 kB / 1.39 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.5537, allocations: 81.16 kB / 1.39 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.5537, allocations: 3.984 kB / 1.39 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.392e-05/0.5537, allocations: 0 / 1.39 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.5538, allocations: 3.984 kB / 1.39 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.5538, allocations: 4 kB / 1.39 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.822e-05/0.5538, allocations: 91.27 kB / 1.39 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5538, allocations: 0 / 1.39 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002698/0.5541, allocations: 47.92 kB / 1.39 GB, free: 4.562 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.0006126/0.5547, allocations: 0.6755 MB / 1.39 GB, free: 3.855 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.5549, allocations: 27.98 kB / 1.39 GB, free: 3.828 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5549, allocations: 0 / 1.39 GB, free: 3.828 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.232e-05/0.5549, allocations: 11.94 kB / 1.39 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.5551, allocations: 11.88 kB / 1.39 GB, free: 3.805 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.5556, allocations: 225.4 kB / 1.391 GB, free: 3.543 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.5559, allocations: 0.6809 MB / 1.391 GB, free: 2.836 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.556, allocations: 11.89 kB / 1.391 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.556, allocations: 15.44 kB / 1.391 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.556, allocations: 0 / 1.391 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.5715, allocations: 1.885 MB / 1.393 GB, free: 1.168 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/0.5718, allocations: 271.8 kB / 1.393 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.265, allocations: 0 / 1.393 GB, free: 0.8047 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat does not exist to compare? outputFormat=mat