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.000845/0.000845, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001867, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007381/0.0007381, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009061/0.001644, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9104/0.9104, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0774/0.9878, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.81/1.81, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4378/2.248, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.825e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002132/0.00215, allocations: 1.594 MB / 0.7309 GB, free: 2.941 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009312/0.003081, allocations: 0.9305 MB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.003135, allocations: 7.938 kB / 0.7318 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.003247, allocations: 31.19 kB / 0.7319 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.546e-05/0.003273, allocations: 28.41 kB / 0.7319 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.003552, allocations: 181.9 kB / 0.7321 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.013e-05/0.003632, allocations: 52.73 kB / 0.7321 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.003669, allocations: 7.938 kB / 0.7321 GB, free: 1.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/0.00376, allocations: 32.67 kB / 0.7321 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.557e-05/0.003786, allocations: 11.94 kB / 0.7322 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.003798, allocations: 4.531 kB / 0.7322 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.004107, allocations: 172.7 kB / 0.7323 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.004118, allocations: 3.938 kB / 0.7323 GB, free: 1.512 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.004134, allocations: 8.875 kB / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.004319, allocations: 123.6 kB / 0.7325 GB, free: 1.383 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.004331, allocations: 0 / 0.7325 GB, free: 1.383 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004332, allocations: 1.438 kB / 0.7325 GB, free: 1.383 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.004345, allocations: 0 / 0.7325 GB, free: 1.383 MB / 0.698 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.000283/0.004628, allocations: 288.2 kB / 0.7327 GB, free: 1.078 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.004657, allocations: 12.03 kB / 0.7327 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.004696, allocations: 76.88 kB / 0.7328 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.004837, allocations: 209.6 kB / 0.733 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.004876, allocations: 156.7 kB / 0.7332 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.004911, allocations: 154.9 kB / 0.7333 GB, free: 468 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.184e-05/0.004953, allocations: 101.5 kB / 0.7334 GB, free: 360 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.004971, allocations: 79.41 kB / 0.7335 GB, free: 280 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.005006, allocations: 154.9 kB / 0.7336 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/0.005057, allocations: 155.4 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.403e-05/0.005091, allocations: 150.6 kB / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.005243, allocations: 365.2 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.928e-05/0.005302, allocations: 169.9 kB / 0.7344 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.005325, allocations: 88.12 kB / 0.7345 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.005343, allocations: 76.16 kB / 0.7346 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.005382, allocations: 105.8 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.005383, allocations: 0.75 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.342e-05/0.005436, allocations: 33.69 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.005483, allocations: 131.3 kB / 0.7348 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.005567, allocations: 136.5 kB / 0.735 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.005576, allocations: 25.7 kB / 0.735 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.005605, allocations: 92.11 kB / 0.7351 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.71e-07/0.005606, allocations: 0 / 0.7351 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.005631, allocations: 13.72 kB / 0.7351 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.005703, allocations: 326.8 kB / 0.7354 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.005714, allocations: 0.75 kB / 0.7354 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-06/0.00572, allocations: 0.7188 kB / 0.7354 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.005745, allocations: 8.859 kB / 0.7354 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005747, allocations: 1 kB / 0.7354 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.629e-05/0.005814, allocations: 41.62 kB / 0.7355 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.005826, allocations: 8 kB / 0.7355 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.00584, allocations: 0.7188 kB / 0.7355 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.005848, allocations: 0 / 0.7355 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.757e-06/0.005852, allocations: 0.7188 kB / 0.7355 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.005854, allocations: 0 / 0.7355 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.005871, allocations: 12.42 kB / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.005877, allocations: 5.156 kB / 0.7355 GB, free: 14.12 MB / 0.7136 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 6.322e-05/0.00594, allocations: 181.1 kB / 0.7357 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.005976, allocations: 109 kB / 0.7358 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.006016, allocations: 117.8 kB / 0.7359 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/0.006056, allocations: 180.3 kB / 0.7361 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-05/0.006095, allocations: 190 kB / 0.7362 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.621e-05/0.006131, allocations: 176.3 kB / 0.7364 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.00655, allocations: 325.3 kB / 0.7367 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/0.006578, allocations: 112.9 kB / 0.7368 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.006604, allocations: 105 kB / 0.7369 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.006636, allocations: 110.3 kB / 0.737 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.304e-05/0.006679, allocations: 184.3 kB / 0.7372 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/0.006728, allocations: 176.3 kB / 0.7374 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.407e-05/0.006792, allocations: 184.9 kB / 0.7375 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-05/0.006854, allocations: 180.3 kB / 0.7377 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.006974, allocations: 308.3 kB / 0.738 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.007036, allocations: 188.2 kB / 0.7382 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.654e-05/0.007082, allocations: 105.7 kB / 0.7383 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.007124, allocations: 176.3 kB / 0.7385 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.007148, allocations: 110.4 kB / 0.7386 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.724e-05/0.007175, allocations: 27.8 kB / 0.7386 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007175, allocations: 0 / 0.7386 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001718/0.007347, allocations: 35.86 kB / 0.7386 GB, free: 10.73 MB / 0.7136 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.0001922/0.00754, allocations: 205.3 kB / 0.7388 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.007606, allocations: 38.56 kB / 0.7389 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.007609, allocations: 0 / 0.7389 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.00761, allocations: 5.094 kB / 0.7389 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.007858, allocations: 477.1 kB / 0.7393 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/0.00839, allocations: 226.3 kB / 0.7395 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.813e-05/0.008418, allocations: 59.34 kB / 0.7396 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.048e-05/0.008439, allocations: 0 / 0.7396 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.008485, allocations: 59.36 kB / 0.7396 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/0.008486, allocations: 0 / 0.7396 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of Templates: time 0.003213/0.0117, allocations: 1.86 MB / 0.7415 GB, free: 7.855 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6440315479412675]