Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001873/0.001873, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.002283/0.002283, allocations: 218.5 kB / 22.26 MB, free: 5.125 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.31/3.31, allocations: 0.49 GB / 0.7951 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002167/0.002167, allocations: 64.41 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4007, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003139/0.4039, allocations: 1.512 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.4055, allocations: 0.9507 MB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.4056, allocations: 7.938 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.4059, allocations: 43.77 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.78e-05/0.4059, allocations: 19.84 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.4065, allocations: 192.6 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.4066, allocations: 51.73 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.4066, allocations: 3.984 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.4067, allocations: 23.86 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.4068, allocations: 19.88 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.4068, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.4073, allocations: 179.8 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.4073, allocations: 3.938 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.4073, allocations: 23.86 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.4075, allocations: 123.6 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4075, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4075, allocations: 4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4075, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 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.000406/0.408, allocations: 297.9 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.408, allocations: 8.031 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/0.4081, allocations: 92.11 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.4083, allocations: 201.8 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-05/0.4084, allocations: 150.9 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.4085, allocations: 162.9 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.623e-05/0.4086, allocations: 105.3 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/0.4086, allocations: 79.22 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/0.4087, allocations: 154.6 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.7e-05/0.4088, allocations: 154.6 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.609e-05/0.4088, allocations: 158.5 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.4092, allocations: 436.9 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.4093, allocations: 165.1 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.4094, allocations: 84.14 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.4094, allocations: 75.28 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/0.4095, allocations: 113.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4095, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001009/0.4096, allocations: 41.58 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.4097, allocations: 130.7 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.4099, allocations: 127.5 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.4099, allocations: 25.7 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.41, allocations: 96.14 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.41, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.41, allocations: 17.7 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4102, allocations: 318.8 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.4102, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/0.4103, allocations: 8 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.432e-05/0.4103, allocations: 12.84 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4103, allocations: 3.938 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001621/0.4105, allocations: 49.59 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4105, allocations: 12.06 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.4105, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4105, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.306e-06/0.4105, allocations: 3.984 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.4105, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.4106, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.4106, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 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.0001277/0.4107, allocations: 185.1 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.698e-05/0.4108, allocations: 120.8 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.4109, allocations: 108.8 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-05/0.4109, allocations: 180.3 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.341e-05/0.411, allocations: 184.2 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.818e-05/0.4111, allocations: 180.3 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.4114, allocations: 388.2 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.042e-05/0.4114, allocations: 105 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.4115, allocations: 112.9 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.195e-05/0.4116, allocations: 184.2 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.4117, allocations: 184.2 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-05/0.4118, allocations: 180.2 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.408e-05/0.4119, allocations: 188.3 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.4121, allocations: 311.7 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.4121, allocations: 112.9 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.884e-05/0.4122, allocations: 180.2 kB / 1.335 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.153e-05/0.4123, allocations: 105 kB / 1.335 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.4124, allocations: 180.3 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.254e-05/0.4125, allocations: 108.9 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.871e-05/0.4125, allocations: 104.7 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4125, allocations: 0 / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003111/0.4129, allocations: 39.86 kB / 1.336 GB, free: 7.301 MB / 1.029 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.000336/0.4132, allocations: 218.3 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.4133, allocations: 41.69 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4133, allocations: 0 / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-06/0.4133, allocations: 3.938 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.4138, allocations: 463.7 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.4142, allocations: 223.5 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.4146, allocations: 0.6846 MB / 1.337 GB, free: 5.613 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.914e-05/0.4146, allocations: 0 / 1.337 GB, free: 5.613 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.4146, allocations: 11.44 kB / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4146, allocations: 0 / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of Templates: time 0.004715/0.4193, allocations: 1.545 MB / 1.339 GB, free: 4.074 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.402125786989927]