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.001848/0.001848, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002529/0.002529, allocations: 216.8 kB / 22.25 MB, free: 4.855 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.797 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.48/3.48, allocations: 0.5107 GB / 0.8158 GB, free: 17.9 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.002146/0.002146, allocations: 68.27 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3999, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003031/0.4029, allocations: 1.489 MB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.4046, allocations: 0.8462 MB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.4047, allocations: 7.938 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.4049, allocations: 35.83 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.4049, allocations: 19.8 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.4055, allocations: 204.8 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.4056, allocations: 47.73 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.113e-05/0.4057, allocations: 7.969 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.4058, allocations: 19.94 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.4058, allocations: 19.86 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.4058, allocations: 7.938 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004295/0.4062, allocations: 167.8 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.4062, allocations: 3.984 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.4063, allocations: 19.86 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.4065, allocations: 123.6 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4065, allocations: 0 / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4065, allocations: 0 / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4065, allocations: 0 / 1.367 GB, free: 10.61 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004365/0.407, allocations: 301.8 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.407, allocations: 8.031 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.4071, allocations: 88.17 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.4074, allocations: 197.8 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.139e-05/0.4074, allocations: 154.9 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.4075, allocations: 162.8 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.683e-05/0.4076, allocations: 109.3 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-05/0.4077, allocations: 75.28 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/0.4077, allocations: 154.6 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.238e-05/0.4078, allocations: 154.6 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.185e-05/0.4079, allocations: 154.5 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.4083, allocations: 417.5 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.4084, allocations: 181.1 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.4084, allocations: 80.14 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.141e-05/0.4085, allocations: 75.28 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.4085, allocations: 105.8 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.4085, allocations: 0 / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.394e-05/0.4086, allocations: 37.58 kB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.4087, allocations: 126.7 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.4089, allocations: 147.4 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4089, allocations: 25.7 kB / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.409, allocations: 88.14 kB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.409, allocations: 4 kB / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.409, allocations: 17.72 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4092, allocations: 318.8 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.4092, allocations: 4 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.4092, allocations: 4 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.4092, allocations: 12.86 kB / 1.37 GB, free: 7.293 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4092, allocations: 0 / 1.37 GB, free: 7.293 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001253/0.4094, allocations: 49.62 kB / 1.37 GB, free: 7.238 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4094, allocations: 11.94 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.4094, allocations: 0 / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4094, allocations: 64 / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.4094, allocations: 4 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4094, allocations: 0 / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.4094, allocations: 11.89 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.4094, allocations: 0 / 1.37 GB, free: 7.211 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 (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.0001288/0.4096, allocations: 185.1 kB / 1.37 GB, free: 7.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.4096, allocations: 112.9 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.838e-05/0.4097, allocations: 116.7 kB / 1.37 GB, free: 6.777 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.484e-05/0.4098, allocations: 176.3 kB / 1.37 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.514e-05/0.4099, allocations: 188.2 kB / 1.371 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.52e-05/0.41, allocations: 176.3 kB / 1.371 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.4102, allocations: 368.9 kB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-05/0.4103, allocations: 104.9 kB / 1.371 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.4103, allocations: 101 kB / 1.371 GB, free: 5.613 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.037e-05/0.4104, allocations: 188.2 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.4105, allocations: 188.2 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.538e-05/0.4106, allocations: 176.3 kB / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.881e-05/0.4107, allocations: 184.2 kB / 1.372 GB, free: 4.863 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.4109, allocations: 307.8 kB / 1.372 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.411, allocations: 108.9 kB / 1.372 GB, free: 4.426 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4111, allocations: 192.2 kB / 1.373 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.4112, allocations: 108.9 kB / 1.373 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/0.4113, allocations: 176.3 kB / 1.373 GB, free: 3.938 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.4113, allocations: 112.9 kB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.626e-05/0.4114, allocations: 106.2 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4114, allocations: 0 / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003091/0.4117, allocations: 31.88 kB / 1.373 GB, free: 3.688 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.0003301/0.412, allocations: 218.3 kB / 1.373 GB, free: 3.465 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.4122, allocations: 33.7 kB / 1.373 GB, free: 3.426 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4122, allocations: 0 / 1.373 GB, free: 3.426 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.928e-06/0.4122, allocations: 4.062 kB / 1.373 GB, free: 3.422 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.4127, allocations: 467.7 kB / 1.374 GB, free: 2.961 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.4131, allocations: 223.3 kB / 1.374 GB, free: 2.715 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.753e-05/0.4131, allocations: 67.33 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.946e-05/0.4132, allocations: 4.25 kB / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.4132, allocations: 7.438 kB / 1.374 GB, free: 2.617 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.4132, allocations: 7.938 kB / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of Templates: time 0.004676/0.4179, allocations: 1.637 MB / 1.376 GB, free: 1.023 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/jenkins/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: 9.498364970088005]