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.381/1.381, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 193.1 kB / 326.5 MB, free: 2.25 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.691/1.691, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0009402/0.00094, allocations: 97.12 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004092, allocations: 11.97 kB / 0.7963 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2124, allocations: 106.3 MB / 0.9002 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.3821, allocations: 136 MB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.3824, allocations: 111.9 kB / 1.033 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01766/0.4001, allocations: 6.183 MB / 1.039 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4001, allocations: 0 / 1.039 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.4002, allocations: 0 / 1.039 GB, free: 1.738 MB / 0.6823 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.0003964/0.4006, allocations: 403 kB / 1.04 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4006, allocations: 8.031 kB / 1.04 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.4007, allocations: 15.91 kB / 1.04 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.4008, allocations: 167 kB / 1.04 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4008, allocations: 7.984 kB / 1.04 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.4008, allocations: 0 / 1.04 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.4009, allocations: 41.62 kB / 1.04 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4009, allocations: 4 kB / 1.04 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.4009, allocations: 0 / 1.04 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4009, allocations: 0 / 1.04 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.623e-05/0.401, allocations: 11.98 kB / 1.04 GB, free: 1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.4012, allocations: 165.7 kB / 1.04 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.363e-05/0.4013, allocations: 38.56 kB / 1.04 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008074/0.4021, allocations: 0.9818 MB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.4021, allocations: 38.48 kB / 1.041 GB, free: 15.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4021, allocations: 0 / 1.041 GB, free: 15.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001605/0.4023, allocations: 57.59 kB / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.4023, allocations: 51.41 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.4024, allocations: 97 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.4024, allocations: 25.7 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.4024, allocations: 84.14 kB / 1.041 GB, free: 15.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.4025, allocations: 19.83 kB / 1.041 GB, free: 15.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.4025, allocations: 0 / 1.041 GB, free: 15.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.4026, allocations: 314.9 kB / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.4026, allocations: 8 kB / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.4026, allocations: 7.984 kB / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.4027, allocations: 11.94 kB / 1.042 GB, free: 14.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4027, allocations: 3.953 kB / 1.042 GB, free: 14.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.748e-05/0.4028, allocations: 57.53 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4028, allocations: 8 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4028, allocations: 4 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4028, allocations: 0 / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.4029, allocations: 12 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4029, allocations: 0 / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.403, allocations: 3.938 kB / 1.042 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.403, allocations: 0 / 1.042 GB, free: 14.69 MB / 0.698 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 6.645e-05/0.4031, allocations: 117.8 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.4031, allocations: 7.859 kB / 1.042 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.4032, allocations: 61.86 kB / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4032, allocations: 4.047 kB / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4032, allocations: 7.984 kB / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4032, allocations: 0 / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.346e-05/0.4033, allocations: 157.7 kB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4033, allocations: 4 kB / 1.042 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.4034, allocations: 15.95 kB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4034, allocations: 4 kB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.4034, allocations: 0 / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.4034, allocations: 0 / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4034, allocations: 0 / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.082e-05/0.4035, allocations: 81.06 kB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.4036, allocations: 89 kB / 1.042 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.4036, allocations: 3.953 kB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.4036, allocations: 0 / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.4036, allocations: 0 / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.4037, allocations: 4 kB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.4037, allocations: 87.27 kB / 1.042 GB, free: 13.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4037, allocations: 0 / 1.042 GB, free: 13.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002226/0.4039, allocations: 47.88 kB / 1.042 GB, free: 13.91 MB / 0.698 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.0002426/0.4042, allocations: 159.1 kB / 1.043 GB, free: 13.74 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.281e-05/0.4043, allocations: 15.98 kB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4043, allocations: 0 / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.433e-05/0.4043, allocations: 19.88 kB / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.4045, allocations: 4 kB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.4048, allocations: 170.5 kB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.405, allocations: 0.6848 MB / 1.043 GB, free: 12.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.405, allocations: 6.75 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.4051, allocations: 15.44 kB / 1.043 GB, free: 12.78 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.4051, allocations: 4 kB / 1.043 GB, free: 12.77 MB / 0.698 GB Notification: Performance of Templates: time 0.003004/0.4081, allocations: 1.028 MB / 1.044 GB, free: 11.8 MB / 0.698 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