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.01164/0.01164, allocations: 101.7 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002085/0.002086, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.42/1.42, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 461.9 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 65.48 kB / 0.8991 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.383, allocations: 157.4 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002679/0.3857, allocations: 1.415 MB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.3874, allocations: 1.141 MB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.3874, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.3875, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.3875, allocations: 7.922 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.388, allocations: 151.6 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.865e-05/0.3881, allocations: 35.8 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.3881, allocations: 7.984 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.3882, allocations: 7.984 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.3883, allocations: 19.92 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3883, allocations: 0 / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005433/0.3888, allocations: 423.4 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.3889, allocations: 7.938 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.3889, allocations: 19.92 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.3891, allocations: 128 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3891, allocations: 0 / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.81e-07/0.3891, allocations: 0 / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3891, allocations: 0 / 1.056 GB, free: 4.859 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.0004663/0.3896, allocations: 387.4 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3896, allocations: 11.97 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.3897, allocations: 8.922 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3898, allocations: 176.2 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3898, allocations: 8.375 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.3899, allocations: 8.312 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.39, allocations: 38 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.39, allocations: 0 / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.39, allocations: 4 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.39, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.3901, allocations: 12 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.3902, allocations: 157.7 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.063e-05/0.3903, allocations: 50.5 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.3904, allocations: 16.92 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009355/0.3913, allocations: 0.9895 MB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3914, allocations: 34.5 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3914, allocations: 0 / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001743/0.3916, allocations: 65.53 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3916, allocations: 51.41 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.3917, allocations: 109.8 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.3917, allocations: 25.7 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.3917, allocations: 84.14 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.3918, allocations: 15.89 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.3918, allocations: 13.72 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3919, allocations: 314.8 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.392, allocations: 4 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.392, allocations: 11.98 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.392, allocations: 20.86 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.392, allocations: 0 / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.065e-05/0.3921, allocations: 61.53 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3921, allocations: 7.938 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.3922, allocations: 0 / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3922, allocations: 0 / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3923, allocations: 12 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3923, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.3923, allocations: 11.86 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.3923, allocations: 4 kB / 1.059 GB, free: 1.734 MB / 0.8106 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 6.452e-05/0.3924, allocations: 109.8 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.3924, allocations: 11.94 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.3926, allocations: 62.94 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3926, allocations: 3.938 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3926, allocations: 0 / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3926, allocations: 0 / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.3927, allocations: 165.6 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3927, allocations: 0 / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.3928, allocations: 12 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3928, allocations: 3.938 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.3928, allocations: 0 / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3928, allocations: 7.984 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3928, allocations: 4 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.896e-05/0.3929, allocations: 73.5 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.393, allocations: 81.05 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.393, allocations: 7.984 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.393, allocations: 3.984 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.3931, allocations: 4 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3931, allocations: 0 / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.3931, allocations: 91.27 kB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3931, allocations: 4 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002201/0.3933, allocations: 32 kB / 1.059 GB, free: 0.9648 MB / 0.8106 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.0002422/0.3936, allocations: 155.1 kB / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.971e-05/0.3937, allocations: 19.98 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3937, allocations: 0 / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.3937, allocations: 15.94 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.394, allocations: 11.98 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.3943, allocations: 183.8 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3946, allocations: 0.677 MB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.3946, allocations: 11.44 kB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3946, allocations: 4 kB / 1.06 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.002449/0.397, allocations: 1.028 MB / 1.061 GB, free: 14.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