Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001705/0.001705, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001852/0.001852, allocations: 163.1 kB / 22.46 MB, free: 5.359 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.51/1.51, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.79/2.79, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.9511 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.202e-05, allocations: 6.281 kB / 0.9511 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002588/0.00262, allocations: 1.365 MB / 0.9524 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.004582, allocations: 1.044 MB / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.00462, allocations: 0 / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.004646, allocations: 3.938 kB / 0.9534 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.004704, allocations: 11.91 kB / 0.9534 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.005383, allocations: 223.1 kB / 0.9536 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.399e-05/0.005457, allocations: 27.86 kB / 0.9537 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.005512, allocations: 15.91 kB / 0.9537 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.005647, allocations: 19.97 kB / 0.9537 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.187e-05/0.005709, allocations: 15.92 kB / 0.9537 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.005723, allocations: 0 / 0.9537 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006766/0.006399, allocations: 403.4 kB / 0.9541 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.006418, allocations: 11.91 kB / 0.9541 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.006446, allocations: 12 kB / 0.9541 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.006856, allocations: 247.3 kB / 0.9544 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006858, allocations: 0 / 0.9544 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.032e-06/0.006859, allocations: 0 / 0.9544 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.006871, allocations: 0 / 0.9544 GB, free: 8.105 MB / 0.8575 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.000513/0.007384, allocations: 313.7 kB / 0.9547 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.007426, allocations: 8.031 kB / 0.9547 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.007454, allocations: 4.938 kB / 0.9547 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.007579, allocations: 121.7 kB / 0.9548 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.007593, allocations: 8.375 kB / 0.9548 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.007606, allocations: 384 / 0.9548 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.007712, allocations: 38.25 kB / 0.9548 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.007722, allocations: 4.125 kB / 0.9548 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.007733, allocations: 4.375 kB / 0.9548 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.007739, allocations: 3.938 kB / 0.9548 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.784e-05/0.007787, allocations: 8 kB / 0.9549 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.007956, allocations: 109.4 kB / 0.955 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.008068, allocations: 38.56 kB / 0.955 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.008103, allocations: 12.89 kB / 0.955 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005755/0.008678, allocations: 99.89 kB / 0.9551 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.008713, allocations: 42.5 kB / 0.9551 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.008714, allocations: 4 kB / 0.9551 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001742/0.008888, allocations: 57.62 kB / 0.9552 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.008928, allocations: 55.34 kB / 0.9553 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.009016, allocations: 105.8 kB / 0.9554 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.009034, allocations: 25.7 kB / 0.9554 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.009078, allocations: 88.14 kB / 0.9555 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.009106, allocations: 7.906 kB / 0.9555 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.009143, allocations: 17.72 kB / 0.9555 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.009291, allocations: 314.8 kB / 0.9558 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.009315, allocations: 8 kB / 0.9558 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.009333, allocations: 4 kB / 0.9558 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.275e-05/0.009386, allocations: 32.78 kB / 0.9558 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.009387, allocations: 0 / 0.9558 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.981e-05/0.009477, allocations: 49.66 kB / 0.9559 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.00949, allocations: 4 kB / 0.9559 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.009495, allocations: 336 / 0.9559 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.009508, allocations: 4 kB / 0.9559 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.009624, allocations: 15.98 kB / 0.9559 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.009631, allocations: 3.938 kB / 0.9559 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.406e-05/0.009655, allocations: 0 / 0.9559 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.009663, allocations: 4 kB / 0.9559 GB, free: 6.348 MB / 0.8575 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 9.035e-05/0.009753, allocations: 121.8 kB / 0.956 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.009764, allocations: 3.984 kB / 0.956 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.009905, allocations: 63.92 kB / 0.9561 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.009909, allocations: 4 kB / 0.9561 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.009915, allocations: 3.938 kB / 0.9561 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.009918, allocations: 0 / 0.9561 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.01003, allocations: 113.2 kB / 0.9562 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.01003, allocations: 4 kB / 0.9562 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.01011, allocations: 8 kB / 0.9562 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01011, allocations: 4 kB / 0.9562 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.01011, allocations: 4 kB / 0.9562 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01012, allocations: 320 / 0.9562 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.01012, allocations: 3.984 kB / 0.9562 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.01024, allocations: 88.94 kB / 0.9563 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.01025, allocations: 7.953 kB / 0.9563 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.01026, allocations: 0 / 0.9563 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.313e-05/0.01028, allocations: 0 / 0.9563 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.0103, allocations: 4 kB / 0.9563 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.01031, allocations: 3.938 kB / 0.9563 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.562e-05/0.01037, allocations: 91.25 kB / 0.9564 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01037, allocations: 0 / 0.9564 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002484/0.01062, allocations: 43.88 kB / 0.9565 GB, free: 5.719 MB / 0.8575 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.0003109/0.01093, allocations: 174.9 kB / 0.9566 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.01103, allocations: 15.94 kB / 0.9566 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.01104, allocations: 4 kB / 0.9566 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.01106, allocations: 11.98 kB / 0.9567 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.01127, allocations: 4 kB / 0.9567 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.01163, allocations: 147.1 kB / 0.9568 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.852e-05/0.01169, allocations: 67.28 kB / 0.9569 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.01172, allocations: 4 kB / 0.9569 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.01175, allocations: 12.5 kB / 0.9569 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.01175, allocations: 0 / 0.9569 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of Templates: time 0.004388/0.01614, allocations: 1.261 MB / 0.9581 GB, free: 4.039 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.378937687724829]