Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001404/0.001404, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001732/0.001732, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.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.426/3.426, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_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_latest_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.002318/0.002318, allocations: 75.5 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3827, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003051/0.3858, allocations: 1.501 MB / 1.356 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3874, allocations: 0.9585 MB / 1.357 GB, free: 5.496 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.3874, allocations: 7.938 kB / 1.357 GB, free: 5.488 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.3876, allocations: 39.77 kB / 1.357 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.818e-05/0.3877, allocations: 15.86 kB / 1.357 GB, free: 5.434 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.3882, allocations: 193.7 kB / 1.357 GB, free: 5.246 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3884, allocations: 47.73 kB / 1.357 GB, free: 5.199 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.3884, allocations: 4 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.09e-05/0.3885, allocations: 19.88 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.3885, allocations: 23.84 kB / 1.357 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3885, allocations: 0 / 1.357 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.389, allocations: 183.7 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.389, allocations: 4 kB / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.389, allocations: 15.88 kB / 1.357 GB, free: 4.953 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.3893, allocations: 131.5 kB / 1.357 GB, free: 4.824 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3893, allocations: 4 kB / 1.357 GB, free: 4.82 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3893, allocations: 3.938 kB / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.3893, allocations: 0 / 1.357 GB, free: 4.816 MB / 1.045 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.0004653/0.3898, allocations: 297.9 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3898, allocations: 12.03 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.3899, allocations: 80.17 kB / 1.358 GB, free: 4.406 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.3902, allocations: 201.8 kB / 1.358 GB, free: 4.184 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.711e-05/0.3903, allocations: 158.9 kB / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.272e-05/0.3904, allocations: 150.9 kB / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.513e-05/0.3905, allocations: 105.3 kB / 1.358 GB, free: 3.77 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.3905, allocations: 79.27 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.3906, allocations: 154.5 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.503e-05/0.3907, allocations: 154.6 kB / 1.359 GB, free: 3.387 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.238e-05/0.3908, allocations: 158.6 kB / 1.359 GB, free: 3.23 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.3911, allocations: 433 kB / 1.359 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3912, allocations: 181.1 kB / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.3913, allocations: 80.14 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.3913, allocations: 87.16 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.728e-05/0.3914, allocations: 109.8 kB / 1.36 GB, free: 2.293 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3914, allocations: 0 / 1.36 GB, free: 2.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.58e-05/0.3915, allocations: 33.66 kB / 1.36 GB, free: 2.254 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.539e-05/0.3916, allocations: 126.7 kB / 1.36 GB, free: 2.117 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3917, allocations: 139.3 kB / 1.36 GB, free: 1.973 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.3918, allocations: 29.7 kB / 1.36 GB, free: 1.938 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.3918, allocations: 88.12 kB / 1.36 GB, free: 1.848 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.3918, allocations: 0 / 1.36 GB, free: 1.848 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.3919, allocations: 17.72 kB / 1.36 GB, free: 1.824 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3921, allocations: 322.8 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.3921, allocations: 0 / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.3921, allocations: 7.938 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/0.3921, allocations: 12.86 kB / 1.36 GB, free: 1.477 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3921, allocations: 32 / 1.36 GB, free: 1.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001467/0.3923, allocations: 61.58 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3923, allocations: 4 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.3923, allocations: 3.984 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3923, allocations: 0 / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.346e-06/0.3924, allocations: 4 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3924, allocations: 0 / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.3924, allocations: 3.953 kB / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.3924, allocations: 0 / 1.36 GB, free: 1.395 MB / 1.045 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.000133/0.3925, allocations: 189.2 kB / 1.361 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.3926, allocations: 108.9 kB / 1.361 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-05/0.3927, allocations: 116.8 kB / 1.361 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-05/0.3928, allocations: 184.1 kB / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.501e-05/0.3929, allocations: 176.3 kB / 1.361 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-05/0.393, allocations: 180.3 kB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.3932, allocations: 392.2 kB / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.905e-05/0.3933, allocations: 105 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.3934, allocations: 108.9 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.169e-05/0.3934, allocations: 176.3 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.3935, allocations: 180.3 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.149e-05/0.3936, allocations: 188.2 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.489e-05/0.3937, allocations: 184.3 kB / 1.363 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.3939, allocations: 307.7 kB / 1.363 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.3939, allocations: 120.8 kB / 1.363 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.3941, allocations: 180.2 kB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.3941, allocations: 105 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.3942, allocations: 184.2 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.3943, allocations: 101 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.08e-05/0.3944, allocations: 105 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3944, allocations: 0 / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003098/0.3947, allocations: 35.88 kB / 1.364 GB, free: 13.84 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 (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.0003271/0.395, allocations: 222.3 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.3951, allocations: 37.64 kB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3951, allocations: 0 / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3951, allocations: 0 / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.3956, allocations: 463.7 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.396, allocations: 257.1 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.3964, allocations: 0.6807 MB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.3964, allocations: 11.44 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3964, allocations: 0 / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of Templates: time 0.003342/0.3998, allocations: 1.291 MB / 1.366 GB, free: 10.83 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.961280831019394]