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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.00149, allocations: 113 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 196.2 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.124/3.124, allocations: 491.4 MB / 0.7708 GB, free: 1.84 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 63.91 kB / 1.106 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4009, allocations: 164.3 MB / 1.266 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00277/0.4038, allocations: 1.366 MB / 1.268 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.4057, allocations: 1.083 MB / 1.269 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.4057, allocations: 0 / 1.269 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.4058, allocations: 7.922 kB / 1.269 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-05/0.4058, allocations: 7.922 kB / 1.269 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006554/0.4065, allocations: 222.9 kB / 1.269 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.4066, allocations: 35.8 kB / 1.269 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.496e-05/0.4067, allocations: 7.938 kB / 1.269 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.94e-05/0.4067, allocations: 4 kB / 1.269 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.445e-05/0.4068, allocations: 19.92 kB / 1.269 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.4068, allocations: 0 / 1.269 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006711/0.4075, allocations: 427.5 kB / 1.269 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.4075, allocations: 7.938 kB / 1.269 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.4076, allocations: 15.86 kB / 1.269 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.4079, allocations: 195.5 kB / 1.269 GB, free: 11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4079, allocations: 0 / 1.269 GB, free: 11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4079, allocations: 4 kB / 1.269 GB, free: 10.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.4079, allocations: 0 / 1.269 GB, free: 10.99 MB / 1.061 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.0005388/0.4085, allocations: 386.8 kB / 1.27 GB, free: 10.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4085, allocations: 12.03 kB / 1.27 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.4086, allocations: 0.9375 kB / 1.27 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.4087, allocations: 176.3 kB / 1.27 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4088, allocations: 384 / 1.27 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.4088, allocations: 4.312 kB / 1.27 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.4089, allocations: 53.94 kB / 1.27 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4089, allocations: 0 / 1.27 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.409, allocations: 0 / 1.27 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.409, allocations: 0 / 1.27 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.4091, allocations: 19.92 kB / 1.27 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.4093, allocations: 161.7 kB / 1.27 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.4094, allocations: 38.61 kB / 1.27 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.4095, allocations: 16.88 kB / 1.27 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.4106, allocations: 0.9895 MB / 1.271 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.4106, allocations: 42.48 kB / 1.271 GB, free: 8.727 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4106, allocations: 0 / 1.271 GB, free: 8.727 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001809/0.4108, allocations: 61.58 kB / 1.271 GB, free: 8.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.4109, allocations: 51.41 kB / 1.271 GB, free: 8.598 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.411, allocations: 105.8 kB / 1.272 GB, free: 8.484 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.411, allocations: 25.7 kB / 1.272 GB, free: 8.453 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.411, allocations: 88.14 kB / 1.272 GB, free: 8.363 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.4111, allocations: 7.906 kB / 1.272 GB, free: 8.355 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.4111, allocations: 17.72 kB / 1.272 GB, free: 8.332 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4113, allocations: 322.8 kB / 1.272 GB, free: 8.008 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.4113, allocations: 4 kB / 1.272 GB, free: 8.004 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.4113, allocations: 8 kB / 1.272 GB, free: 7.996 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.774e-05/0.4114, allocations: 20.8 kB / 1.272 GB, free: 7.973 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4114, allocations: 0 / 1.272 GB, free: 7.973 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.351e-05/0.4115, allocations: 49.69 kB / 1.272 GB, free: 7.918 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4115, allocations: 7.938 kB / 1.272 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4115, allocations: 0 / 1.272 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4115, allocations: 4 kB / 1.272 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4116, allocations: 23.98 kB / 1.272 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4116, allocations: 0 / 1.272 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.513e-05/0.4117, allocations: 3.938 kB / 1.272 GB, free: 7.879 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.4117, allocations: 0 / 1.272 GB, free: 7.879 MB / 1.061 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.052e-05/0.4118, allocations: 113.3 kB / 1.272 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.4118, allocations: 7.891 kB / 1.272 GB, free: 7.754 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.4119, allocations: 65.52 kB / 1.272 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4119, allocations: 0 / 1.272 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4119, allocations: 7.938 kB / 1.272 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.412, allocations: 4 kB / 1.272 GB, free: 7.664 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.4121, allocations: 153.7 kB / 1.272 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4121, allocations: 0 / 1.272 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.4122, allocations: 19.98 kB / 1.272 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.4122, allocations: 7.938 kB / 1.272 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.4122, allocations: 3.938 kB / 1.272 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4122, allocations: 0 / 1.272 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4122, allocations: 0 / 1.272 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.4123, allocations: 77.44 kB / 1.273 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.4124, allocations: 85 kB / 1.273 GB, free: 7.238 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.4124, allocations: 8 kB / 1.273 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.4124, allocations: 0 / 1.273 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.4125, allocations: 4.031 kB / 1.273 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.4125, allocations: 7.984 kB / 1.273 GB, free: 7.219 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.4125, allocations: 79.59 kB / 1.273 GB, free: 7.141 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4125, allocations: 0 / 1.273 GB, free: 7.141 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002352/0.4128, allocations: 43.86 kB / 1.273 GB, free: 7.098 MB / 1.061 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.0002757/0.413, allocations: 163 kB / 1.273 GB, free: 6.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.4132, allocations: 19.98 kB / 1.273 GB, free: 6.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.4132, allocations: 4 kB / 1.273 GB, free: 6.906 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.047e-05/0.4132, allocations: 11.94 kB / 1.273 GB, free: 6.895 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.4134, allocations: 8.234 kB / 1.273 GB, free: 6.887 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.4138, allocations: 181.7 kB / 1.273 GB, free: 6.676 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.4141, allocations: 0.6845 MB / 1.274 GB, free: 5.965 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.4142, allocations: 7.438 kB / 1.274 GB, free: 5.961 MB / 1.061 GB Notification: Performance of SimCode: time 2.61e-07/0.4142, allocations: 4 kB / 1.274 GB, free: 5.957 MB / 1.061 GB Notification: Performance of Templates: time 0.002778/0.417, allocations: 1.038 MB / 1.275 GB, free: 4.934 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.250798419001512]