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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 186.5 kB / 16.92 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.877/2.877, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 8.719 kB / 0.9035 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.386, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001736/0.3878, allocations: 1.088 MB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.3898, allocations: 1.118 MB / 1.062 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.3898, allocations: 0 / 1.062 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.3898, allocations: 0 / 1.062 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.3899, allocations: 3.938 kB / 1.062 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.3905, allocations: 158.7 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.079e-05/0.3905, allocations: 35.8 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.3906, allocations: 0 / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.277e-05/0.3907, allocations: 11.98 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.696e-05/0.3907, allocations: 19.91 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.3908, allocations: 7.938 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005924/0.3914, allocations: 415.4 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.885e-05/0.3914, allocations: 15.92 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.3914, allocations: 37.62 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.3917, allocations: 132 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3917, allocations: 4 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3917, allocations: 0 / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.3917, allocations: 0 / 1.062 GB, free: 1.855 MB / 0.8106 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.000442/0.3921, allocations: 375.4 kB / 1.063 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3922, allocations: 11.97 kB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.3922, allocations: 4.938 kB / 1.063 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3923, allocations: 172.2 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3924, allocations: 8.359 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.3924, allocations: 384 / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.3925, allocations: 53.94 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.3925, allocations: 0 / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3925, allocations: 0 / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3925, allocations: 3.938 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/0.3926, allocations: 12 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.3928, allocations: 161.7 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.007e-05/0.3929, allocations: 34.61 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.3929, allocations: 20.89 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009546/0.3939, allocations: 0.9856 MB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3939, allocations: 42.44 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3939, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000171/0.3941, allocations: 57.69 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3941, allocations: 51.41 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/0.3942, allocations: 109.8 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3942, allocations: 25.7 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.3943, allocations: 84.12 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.3943, allocations: 19.81 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.3944, allocations: 9.719 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3945, allocations: 314.8 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.3945, allocations: 8 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/0.3945, allocations: 7.938 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.247e-05/0.3946, allocations: 20.86 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3946, allocations: 0 / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.946e-05/0.3947, allocations: 49.69 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3947, allocations: 7.938 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3947, allocations: 4 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3947, allocations: 4 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3948, allocations: 11.98 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3948, allocations: 7.938 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.3949, allocations: 11.84 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.3949, allocations: 0 / 1.065 GB, free: 14.75 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/0.395, allocations: 113.8 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.395, allocations: 4.266 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.3951, allocations: 71.95 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3951, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3951, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3952, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.3953, allocations: 157.7 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3953, allocations: 3.938 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.3954, allocations: 19.98 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3954, allocations: 3.938 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3954, allocations: 8 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3954, allocations: 0 / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3954, allocations: 0 / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.878e-05/0.3955, allocations: 80.97 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.3956, allocations: 81.05 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3956, allocations: 4 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/0.3956, allocations: 7.984 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.3956, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3956, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.451e-05/0.3957, allocations: 83.28 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3957, allocations: 0 / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002277/0.3959, allocations: 47.98 kB / 1.066 GB, free: 13.98 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002478/0.3962, allocations: 155.1 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.6e-05/0.3963, allocations: 23.92 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3963, allocations: 0 / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.932e-05/0.3963, allocations: 8 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.3965, allocations: 8 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.3969, allocations: 200.3 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3972, allocations: 0.677 MB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.3972, allocations: 11.44 kB / 1.067 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.3972, allocations: 3.938 kB / 1.067 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of Templates: time 0.002903/0.4001, allocations: 1.031 MB / 1.068 GB, free: 11.8 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches