Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001517/0.001517, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001651/0.001651, allocations: 209.1 kB / 22.24 MB, free: 5.262 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.929/2.929, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 68.47 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3769, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003068/0.38, allocations: 1.484 MB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.3816, allocations: 0.8469 MB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.3816, allocations: 4 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.3819, allocations: 47.77 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.961e-05/0.3819, allocations: 15.86 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.3825, allocations: 196.7 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.3826, allocations: 43.73 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.3826, allocations: 4 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.3827, allocations: 27.91 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.3827, allocations: 15.88 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.3828, allocations: 0 / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004697/0.3832, allocations: 171.7 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.3832, allocations: 4 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.3833, allocations: 19.86 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.3835, allocations: 131.5 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3835, allocations: 0 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3835, allocations: 0 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3836, allocations: 4 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000424/0.384, allocations: 297.9 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.384, allocations: 12.03 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.3841, allocations: 76.22 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.3844, allocations: 208.2 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.3844, allocations: 154.9 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.331e-05/0.3845, allocations: 150.9 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.563e-05/0.3846, allocations: 117.2 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.068e-05/0.3847, allocations: 79.27 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.3847, allocations: 150.6 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.681e-05/0.3848, allocations: 154.6 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.877e-05/0.3849, allocations: 150.6 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.3852, allocations: 429.4 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.3854, allocations: 169.1 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.3854, allocations: 80.19 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-05/0.3855, allocations: 79.28 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.528e-05/0.3855, allocations: 109.8 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3855, allocations: 0 / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.039e-05/0.3856, allocations: 37.59 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.3857, allocations: 130.7 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3859, allocations: 125.8 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3859, allocations: 33.69 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.386, allocations: 92.14 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.386, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.386, allocations: 17.66 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3862, allocations: 322.8 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.3862, allocations: 0 / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.3862, allocations: 8 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.057e-05/0.3863, allocations: 8.859 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3863, allocations: 0 / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001345/0.3864, allocations: 53.58 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3864, allocations: 16 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.3864, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3864, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.3864, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3864, allocations: 4 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.3865, allocations: 3.938 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3865, allocations: 0 / 1.289 GB, free: 5.492 MB / 0.9825 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001363/0.3866, allocations: 189.1 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.3867, allocations: 112.9 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.02e-05/0.3868, allocations: 108.8 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.273e-05/0.3868, allocations: 180.2 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.434e-05/0.3869, allocations: 188.3 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001089/0.387, allocations: 184.2 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3873, allocations: 360.9 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.667e-05/0.3874, allocations: 101 kB / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.3874, allocations: 108.9 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.305e-05/0.3875, allocations: 180.3 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.3876, allocations: 188.1 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.412e-05/0.3877, allocations: 180.3 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.625e-05/0.3878, allocations: 176.3 kB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.388, allocations: 315.7 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.388, allocations: 116.9 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.3881, allocations: 188.2 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3882, allocations: 104.9 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.3883, allocations: 180.2 kB / 1.292 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/0.3884, allocations: 109 kB / 1.292 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.883e-05/0.3885, allocations: 105.8 kB / 1.292 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3885, allocations: 0 / 1.292 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003151/0.3888, allocations: 35.88 kB / 1.292 GB, free: 1.969 MB / 0.9825 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 (0): * Single equations (assignments): 0 * 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.0003281/0.3891, allocations: 218.4 kB / 1.293 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.3892, allocations: 41.64 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3892, allocations: 0 / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.3892, allocations: 0 / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.3898, allocations: 479.6 kB / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.3901, allocations: 231.3 kB / 1.293 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.699e-05/0.3902, allocations: 63.34 kB / 1.293 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.154e-05/0.3902, allocations: 8.297 kB / 1.293 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.3902, allocations: 11.44 kB / 1.293 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3902, allocations: 0 / 1.293 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of Templates: time 0.004852/0.3951, allocations: 1.63 MB / 1.295 GB, free: 15.27 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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: 9.418302536010742]