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.434/1.434, allocations: 249.5 MB / 257 MB, free: 7 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.001032/0.001032, allocations: 191.4 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008577/0.0008577, allocations: 89.12 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.105e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2333, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.815/1.048, allocations: 136.3 MB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/1.049, allocations: 112.6 kB / 1.018 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01758/1.066, allocations: 6.137 MB / 1.024 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/1.066, allocations: 3.938 kB / 1.024 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.221e-05/1.066, allocations: 0 / 1.024 GB, free: 12.33 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.0004156/1.067, allocations: 393.7 kB / 1.025 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.067, allocations: 8.031 kB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/1.067, allocations: 4 kB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/1.067, allocations: 174.9 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/1.067, allocations: 3.938 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/1.067, allocations: 0 / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.315e-05/1.067, allocations: 8 kB / 1.025 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.37e-05/1.067, allocations: 36.62 kB / 1.025 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/1.067, allocations: 4 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/1.067, allocations: 0 / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.067, allocations: 0 / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/1.067, allocations: 141.4 kB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/1.068, allocations: 45.17 kB / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/1.068, allocations: 8.891 kB / 1.025 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008927/1.069, allocations: 0.9845 MB / 1.026 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/1.069, allocations: 30.56 kB / 1.026 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/1.069, allocations: 0 / 1.026 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0002117/1.069, allocations: 48.62 kB / 1.026 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/1.069, allocations: 51.41 kB / 1.026 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/1.069, allocations: 104.4 kB / 1.026 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/1.069, allocations: 25.7 kB / 1.026 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/1.069, allocations: 87.45 kB / 1.027 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/1.069, allocations: 19.73 kB / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/1.069, allocations: 0 / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.069, allocations: 314.2 kB / 1.027 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/1.069, allocations: 6.625 kB / 1.027 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/1.069, allocations: 4 kB / 1.027 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.63e-05/1.069, allocations: 16.11 kB / 1.027 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.069, allocations: 0 / 1.027 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.744e-05/1.069, allocations: 57.98 kB / 1.027 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.069, allocations: 12 kB / 1.027 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.069, allocations: 0 / 1.027 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/1.069, allocations: 0 / 1.027 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/1.07, allocations: 19.98 kB / 1.027 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/1.07, allocations: 0 / 1.027 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/1.07, allocations: 0 / 1.027 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/1.07, allocations: 3.938 kB / 1.027 GB, free: 9.367 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.773e-05/1.07, allocations: 105 kB / 1.027 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/1.07, allocations: 3.953 kB / 1.027 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/1.07, allocations: 73.27 kB / 1.027 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.07, allocations: 3.938 kB / 1.027 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/1.07, allocations: 0 / 1.027 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.07, allocations: 0 / 1.027 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/1.07, allocations: 137.9 kB / 1.027 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/1.07, allocations: 0 / 1.027 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/1.07, allocations: 15.98 kB / 1.027 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.07, allocations: 0 / 1.027 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/1.07, allocations: 3.953 kB / 1.027 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.07, allocations: 0 / 1.027 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.07, allocations: 0 / 1.027 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/1.07, allocations: 88.7 kB / 1.027 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/1.07, allocations: 77.11 kB / 1.027 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/1.07, allocations: 0 / 1.027 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/1.07, allocations: 7.953 kB / 1.027 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/1.07, allocations: 0 / 1.027 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/1.07, allocations: 0 / 1.027 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.312e-05/1.07, allocations: 81.97 kB / 1.028 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.07, allocations: 8 kB / 1.028 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00024/1.071, allocations: 47.92 kB / 1.028 GB, free: 8.648 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.0002497/1.071, allocations: 158.6 kB / 1.028 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.45e-05/1.071, allocations: 19.94 kB / 1.028 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.071, allocations: 0 / 1.028 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/1.071, allocations: 7.312 kB / 1.028 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/1.071, allocations: 7.984 kB / 1.028 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/1.071, allocations: 70.5 kB / 1.028 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/1.072, allocations: 0.6807 MB / 1.029 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.647e-05/1.072, allocations: 3.281 kB / 1.029 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/1.072, allocations: 15.38 kB / 1.029 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.072, allocations: 0 / 1.029 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of Templates: time 0.003124/1.075, allocations: 1.027 MB / 1.03 GB, free: 6.684 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