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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 79.36 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 167.7 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.242/3.242, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.064e-06/2.064e-06, allocations: 0 / 1 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.877e-05, allocations: 2.281 kB / 1 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002847/0.002876, allocations: 1.382 MB / 1.002 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002113/0.004989, allocations: 1.055 MB / 1.003 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.00503, allocations: 0 / 1.003 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.005055, allocations: 0 / 1.003 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.00511, allocations: 11.86 kB / 1.003 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007727/0.005883, allocations: 215.1 kB / 1.003 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.005964, allocations: 35.8 kB / 1.003 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.767e-05/0.006022, allocations: 11.97 kB / 1.003 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.006163, allocations: 15.98 kB / 1.003 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.006236, allocations: 19.92 kB / 1.003 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.006253, allocations: 0 / 1.003 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007588/0.007012, allocations: 403.4 kB / 1.003 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.007023, allocations: 0 / 1.003 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.007055, allocations: 15.92 kB / 1.003 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.007462, allocations: 251.3 kB / 1.004 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.007465, allocations: 0 / 1.004 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.222e-06/0.007467, allocations: 4 kB / 1.004 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.007476, allocations: 3.938 kB / 1.004 GB, free: 2.719 MB / 0.9044 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.000512/0.007988, allocations: 315.7 kB / 1.004 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.008031, allocations: 8.031 kB / 1.004 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.008064, allocations: 4.938 kB / 1.004 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.008203, allocations: 117.7 kB / 1.004 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.008212, allocations: 384 / 1.004 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.008226, allocations: 384 / 1.004 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.008346, allocations: 42.25 kB / 1.004 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.008355, allocations: 192 / 1.004 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.008366, allocations: 4.375 kB / 1.004 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.008373, allocations: 3.938 kB / 1.004 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.157e-05/0.008424, allocations: 12 kB / 1.004 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.008599, allocations: 109.4 kB / 1.004 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.008711, allocations: 46.48 kB / 1.004 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.008746, allocations: 8.891 kB / 1.004 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000596/0.009342, allocations: 95.91 kB / 1.004 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.009376, allocations: 34.56 kB / 1.004 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.009377, allocations: 0 / 1.004 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0002054/0.009582, allocations: 65.58 kB / 1.004 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.009626, allocations: 55.34 kB / 1.004 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.009716, allocations: 105.8 kB / 1.005 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.009734, allocations: 25.7 kB / 1.005 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.009778, allocations: 84.14 kB / 1.005 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.009812, allocations: 15.91 kB / 1.005 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.009905, allocations: 13.72 kB / 1.005 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.01007, allocations: 318.8 kB / 1.005 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.01009, allocations: 4 kB / 1.005 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.01011, allocations: 4 kB / 1.005 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.01016, allocations: 25.14 kB / 1.005 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01016, allocations: 0 / 1.005 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.671e-05/0.01026, allocations: 61.61 kB / 1.005 GB, free: 1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.01028, allocations: 4 kB / 1.005 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01028, allocations: 0 / 1.005 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.0103, allocations: 8 kB / 1.005 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01041, allocations: 11.98 kB / 1.005 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01042, allocations: 11.88 kB / 1.005 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.01044, allocations: 0 / 1.005 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.01045, allocations: 0 / 1.005 GB, free: 0.9648 MB / 0.9044 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 0.0001186/0.01056, allocations: 114.3 kB / 1.005 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.01058, allocations: 7.953 kB / 1.005 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.01072, allocations: 69.12 kB / 1.005 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01073, allocations: 0 / 1.005 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.01074, allocations: 7.938 kB / 1.005 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01074, allocations: 4 kB / 1.005 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.01092, allocations: 109.2 kB / 1.005 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.01092, allocations: 4 kB / 1.005 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.01099, allocations: 8 kB / 1.005 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.011, allocations: 4 kB / 1.005 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.01101, allocations: 0 / 1.005 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01101, allocations: 0 / 1.005 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01101, allocations: 0 / 1.005 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.01113, allocations: 77.05 kB / 1.005 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.01114, allocations: 7.953 kB / 1.005 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.01116, allocations: 8 kB / 1.005 GB, free: 500 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.01118, allocations: 0 / 1.005 GB, free: 500 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.01121, allocations: 11.88 kB / 1.005 GB, free: 488 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.01122, allocations: 3.938 kB / 1.005 GB, free: 484 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.942e-05/0.01127, allocations: 83.27 kB / 1.006 GB, free: 400 kB / 0.9044 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01127, allocations: 0 / 1.006 GB, free: 400 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002581/0.01152, allocations: 43.88 kB / 1.006 GB, free: 356 kB / 0.9044 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.0003153/0.01184, allocations: 163 kB / 1.006 GB, free: 180 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.01194, allocations: 20 kB / 1.006 GB, free: 160 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01194, allocations: 4 kB / 1.006 GB, free: 156 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.847e-05/0.01197, allocations: 15.92 kB / 1.006 GB, free: 140 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.01221, allocations: 14.8 kB / 1.006 GB, free: 128 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.01257, allocations: 132.8 kB / 1.006 GB, free: 15.97 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.329e-05/0.01263, allocations: 71.22 kB / 1.006 GB, free: 15.88 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.01267, allocations: 4.328 kB / 1.006 GB, free: 15.88 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.0127, allocations: 20.48 kB / 1.006 GB, free: 15.86 MB / 0.92 GB Notification: Performance of SimCode: time 3.81e-07/0.0127, allocations: 0 / 1.006 GB, free: 15.86 MB / 0.92 GB Notification: Performance of Templates: time 0.004589/0.01729, allocations: 1.266 MB / 1.007 GB, free: 14.65 MB / 0.92 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/jenkins/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: 8.712426446378231]