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.001782/0.001782, allocations: 109.5 kB / 19.7 MB, free: 2.266 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.002636/0.002636, allocations: 216.9 kB / 23.01 MB, free: 4.59 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.222/3.222, allocations: 0.49 GB / 0.7958 GB, free: 33.44 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.002096/0.002096, allocations: 66.69 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.383, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002975/0.386, allocations: 1.512 MB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3876, allocations: 0.9546 MB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.3876, allocations: 0 / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.3879, allocations: 43.75 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.3879, allocations: 15.84 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005362/0.3884, allocations: 203 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.3885, allocations: 47.73 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.3886, allocations: 4 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.3886, allocations: 19.88 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.289e-05/0.3887, allocations: 15.92 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.3887, allocations: 0 / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.3891, allocations: 187.7 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.3891, allocations: 3.938 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.3892, allocations: 23.88 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.3894, allocations: 127.6 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.3894, allocations: 3.984 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3894, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3894, allocations: 0 / 1.33 GB, free: 14.28 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.0003902/0.3898, allocations: 297.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3898, allocations: 12.03 kB / 1.331 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.3899, allocations: 88.09 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.3902, allocations: 201.8 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.3902, allocations: 150.9 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/0.3903, allocations: 154.9 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.305e-05/0.3904, allocations: 109.3 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/0.3904, allocations: 79.22 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.372e-05/0.3905, allocations: 154.6 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.546e-05/0.3906, allocations: 154.6 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.93e-05/0.3906, allocations: 154.6 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.391, allocations: 436.9 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.724e-05/0.3911, allocations: 165.1 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.3911, allocations: 88.08 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.3912, allocations: 75.28 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/0.3912, allocations: 113.8 kB / 1.333 GB, free: 11.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3912, allocations: 0 / 1.333 GB, free: 11.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.067e-05/0.3913, allocations: 33.66 kB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.3914, allocations: 126.7 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3915, allocations: 139.9 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3915, allocations: 25.7 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.3916, allocations: 92.11 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.3916, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.3916, allocations: 21.72 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3918, allocations: 314.8 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.3918, allocations: 11.94 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.43e-05/0.3918, allocations: 4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.3919, allocations: 20.89 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3919, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000127/0.392, allocations: 49.58 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.392, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.392, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.392, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.392, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.392, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.3921, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3921, allocations: 0 / 1.333 GB, free: 10.87 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.0001163/0.3922, allocations: 193.1 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.3923, allocations: 116.8 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.145e-05/0.3923, allocations: 108.8 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-05/0.3924, allocations: 184.2 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.5e-05/0.3925, allocations: 180.3 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-05/0.3926, allocations: 188.1 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.3928, allocations: 384.3 kB / 1.335 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.563e-05/0.3929, allocations: 105 kB / 1.335 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.3929, allocations: 108.9 kB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.721e-05/0.393, allocations: 176.3 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-05/0.3931, allocations: 188.2 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.074e-05/0.3932, allocations: 188.2 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.366e-05/0.3933, allocations: 176.3 kB / 1.336 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.3934, allocations: 311.8 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.3935, allocations: 120.8 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.045e-05/0.3936, allocations: 180.3 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.301e-05/0.3937, allocations: 109 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.3938, allocations: 180.2 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.3938, allocations: 101 kB / 1.337 GB, free: 7.434 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.324e-05/0.3939, allocations: 109.2 kB / 1.337 GB, free: 7.328 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3939, allocations: 0 / 1.337 GB, free: 7.328 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002942/0.3942, allocations: 31.88 kB / 1.337 GB, free: 7.297 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.0003085/0.3945, allocations: 226.3 kB / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.577e-05/0.3946, allocations: 37.64 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3946, allocations: 0 / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.3946, allocations: 0 / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.3951, allocations: 471.7 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.3954, allocations: 259.5 kB / 1.338 GB, free: 6.273 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.3958, allocations: 0.6807 MB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.3958, allocations: 7.438 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3958, allocations: 0 / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of Templates: time 0.003251/0.399, allocations: 1.29 MB / 1.34 GB, free: 4.273 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/jenkins1/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: 11.506471219996456]