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.201/2.201, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001493/0.001493, allocations: 180.8 kB / 487.4 MB, free: 5.039 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.606/1.606, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 97.39 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.107e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2429, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8946/1.137, allocations: 153 MB / 1.355 GB, free: 18.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/1.138, allocations: 116.1 kB / 1.356 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01712/1.155, allocations: 6.277 MB / 1.362 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.333e-06/1.155, allocations: 3.938 kB / 1.362 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.582e-06/1.155, allocations: 0 / 1.362 GB, free: 33.9 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004157/1.155, allocations: 397.6 kB / 1.362 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.156, allocations: 7.719 kB / 1.362 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/1.156, allocations: 3.906 kB / 1.362 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.77e-05/1.156, allocations: 166.9 kB / 1.362 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/1.156, allocations: 0 / 1.362 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/1.156, allocations: 7.844 kB / 1.362 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.946e-05/1.156, allocations: 10.41 kB / 1.362 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.729e-05/1.156, allocations: 39.09 kB / 1.362 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/1.156, allocations: 0 / 1.362 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/1.156, allocations: 3.984 kB / 1.362 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/1.156, allocations: 0 / 1.362 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/1.156, allocations: 144.8 kB / 1.362 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.845e-05/1.156, allocations: 36.52 kB / 1.363 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/1.156, allocations: 15.95 kB / 1.363 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/1.157, allocations: 0.9802 MB / 1.363 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/1.157, allocations: 43.28 kB / 1.364 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/1.157, allocations: 0 / 1.364 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001897/1.157, allocations: 55.48 kB / 1.364 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.843e-05/1.157, allocations: 51.41 kB / 1.364 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/1.157, allocations: 99.45 kB / 1.364 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/1.157, allocations: 25.7 kB / 1.364 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/1.157, allocations: 80.14 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/1.157, allocations: 11.66 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/1.157, allocations: 4 kB / 1.364 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.157, allocations: 313.4 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/1.157, allocations: 11.34 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/1.157, allocations: 3.844 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/1.158, allocations: 10.92 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.158, allocations: 0 / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.634e-05/1.158, allocations: 58.42 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/1.158, allocations: 7.781 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.158, allocations: 0 / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/1.158, allocations: 3.938 kB / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/1.158, allocations: 18.44 kB / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/1.158, allocations: 0 / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/1.158, allocations: 0 / 1.364 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/1.158, allocations: 3.844 kB / 1.364 GB, free: 31.22 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 (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 6.31e-05/1.158, allocations: 101 kB / 1.364 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.932e-05/1.158, allocations: 51.44 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/1.158, allocations: 10.61 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/1.158, allocations: 65.88 kB / 1.364 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.158, allocations: 4 kB / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/1.158, allocations: 0 / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/1.158, allocations: 0 / 1.364 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.226e-05/1.158, allocations: 147.6 kB / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.158, allocations: 0 / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.601e-05/1.158, allocations: 11.53 kB / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.158, allocations: 2.719 kB / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/1.158, allocations: 0 / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.158, allocations: 4 kB / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.158, allocations: 0 / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/1.158, allocations: 89.39 kB / 1.365 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/1.159, allocations: 85 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/1.159, allocations: 3.844 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/1.159, allocations: 3.938 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/1.159, allocations: 2.672 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/1.159, allocations: 7.781 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.589e-05/1.159, allocations: 79.75 kB / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.159, allocations: 0 / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002268/1.159, allocations: 46.09 kB / 1.365 GB, free: 30.59 MB / 0.8386 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 () * 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.0005278/1.159, allocations: 0.6662 MB / 1.366 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.967e-05/1.16, allocations: 23.38 kB / 1.366 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.16, allocations: 0 / 1.366 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.446e-05/1.16, allocations: 7.688 kB / 1.366 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/1.16, allocations: 10.81 kB / 1.366 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/1.16, allocations: 125.3 kB / 1.366 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/1.16, allocations: 0.6818 MB / 1.366 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.416e-05/1.16, allocations: 7.75 kB / 1.366 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/1.16, allocations: 15.03 kB / 1.366 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.16, allocations: 0 / 1.366 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/1.181, allocations: 1.543 MB / 1.368 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/1.181, allocations: 230.5 kB / 1.368 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.806, allocations: 1.031 kB / 1.368 GB, free: 28.75 MB / 0.8386 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