Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 249.3 MB / 261.8 MB, free: 5.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 186.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.1 MB / 0.572 GB, free: 10.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009879/0.000988, allocations: 86.52 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.888e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2401, allocations: 106.3 MB / 0.8918 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7463/0.9864, allocations: 136 MB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.9867, allocations: 113 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01763/1.004, allocations: 6.166 MB / 1.031 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.192e-06/1.004, allocations: 0 / 1.031 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.004, allocations: 4 kB / 1.031 GB, free: 9.434 MB / 0.6511 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.0003809/1.005, allocations: 385.1 kB / 1.031 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.005, allocations: 12.03 kB / 1.031 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/1.005, allocations: 3.438 kB / 1.031 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/1.005, allocations: 178.9 kB / 1.031 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/1.005, allocations: 7.938 kB / 1.031 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/1.005, allocations: 0 / 1.031 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.116e-05/1.005, allocations: 40.89 kB / 1.031 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/1.005, allocations: 0 / 1.031 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/1.005, allocations: 0 / 1.031 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.005, allocations: 3.984 kB / 1.031 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/1.005, allocations: 12 kB / 1.031 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/1.005, allocations: 160.5 kB / 1.032 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.09e-05/1.005, allocations: 46.17 kB / 1.032 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/1.006, allocations: 16.33 kB / 1.032 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008226/1.006, allocations: 0.9774 MB / 1.033 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/1.006, allocations: 42.48 kB / 1.033 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/1.006, allocations: 0 / 1.033 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001296/1.007, allocations: 45.14 kB / 1.033 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/1.007, allocations: 51.41 kB / 1.033 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/1.007, allocations: 100.4 kB / 1.033 GB, free: 7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/1.007, allocations: 25.7 kB / 1.033 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/1.007, allocations: 83.58 kB / 1.033 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/1.007, allocations: 23.31 kB / 1.033 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/1.007, allocations: 3.938 kB / 1.033 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.007, allocations: 314.8 kB / 1.033 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/1.007, allocations: 7.562 kB / 1.033 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/1.007, allocations: 4 kB / 1.033 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.366e-05/1.007, allocations: 7.953 kB / 1.033 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.007, allocations: 3.938 kB / 1.033 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.441e-05/1.007, allocations: 53.03 kB / 1.033 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.007, allocations: 8 kB / 1.033 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/1.007, allocations: 0 / 1.033 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/1.007, allocations: 4 kB / 1.033 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/1.007, allocations: 15.98 kB / 1.033 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.007, allocations: 0 / 1.033 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/1.007, allocations: 0 / 1.033 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/1.007, allocations: 4 kB / 1.033 GB, free: 6.441 MB / 0.6511 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.283e-05/1.007, allocations: 108.2 kB / 1.033 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-06/1.007, allocations: 192 / 1.033 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/1.007, allocations: 69.16 kB / 1.033 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.007, allocations: 8 kB / 1.033 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.008, allocations: 0 / 1.033 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.008, allocations: 7.984 kB / 1.033 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/1.008, allocations: 160.4 kB / 1.034 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.008, allocations: 3.953 kB / 1.034 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.884e-05/1.008, allocations: 12 kB / 1.034 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.008, allocations: 3.984 kB / 1.034 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/1.008, allocations: 0 / 1.034 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.008, allocations: 0 / 1.034 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.008, allocations: 0 / 1.034 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/1.008, allocations: 80.59 kB / 1.034 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/1.008, allocations: 88.56 kB / 1.034 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/1.008, allocations: 0 / 1.034 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/1.008, allocations: 0 / 1.034 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/1.008, allocations: 4 kB / 1.034 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/1.008, allocations: 0 / 1.034 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.946e-05/1.008, allocations: 87.12 kB / 1.034 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.008, allocations: 0 / 1.034 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002154/1.008, allocations: 43.94 kB / 1.034 GB, free: 5.703 MB / 0.6511 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.0002475/1.008, allocations: 162.9 kB / 1.034 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.177e-05/1.009, allocations: 16 kB / 1.034 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.009, allocations: 3.938 kB / 1.034 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/1.009, allocations: 15.23 kB / 1.034 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/1.009, allocations: 4 kB / 1.034 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/1.009, allocations: 85.08 kB / 1.034 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/1.009, allocations: 0.6809 MB / 1.035 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.568e-05/1.009, allocations: 9.641 kB / 1.035 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/1.009, allocations: 11.44 kB / 1.035 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/1.009, allocations: 0 / 1.035 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of Templates: time 0.003119/1.012, allocations: 1.038 MB / 1.036 GB, free: 3.703 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches