Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 201.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003205/0.003205, allocations: 67.89 kB / 1.109 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6873/0.6905, allocations: 168.7 MB / 1.274 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002661/0.6931, allocations: 1.491 MB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.6946, allocations: 0.9167 MB / 1.276 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.6946, allocations: 0 / 1.276 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.6948, allocations: 43.75 kB / 1.276 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.6948, allocations: 15.84 kB / 1.276 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.6954, allocations: 200.4 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.745e-05/0.6955, allocations: 51.67 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.6955, allocations: 4 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.6956, allocations: 15.92 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.6956, allocations: 19.88 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.6956, allocations: 0 / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.696, allocations: 171.8 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.696, allocations: 3.938 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.696, allocations: 27.86 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.6962, allocations: 122.2 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6962, allocations: 0 / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6962, allocations: 0 / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.6962, allocations: 0 / 1.277 GB, free: 1.285 MB / 0.9669 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.0004168/0.6967, allocations: 375 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6967, allocations: 12.03 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.6968, allocations: 80.17 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.697, allocations: 265.3 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.6971, allocations: 154.9 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/0.6972, allocations: 150.9 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.896e-05/0.6972, allocations: 105.3 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/0.6973, allocations: 75.28 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.512e-05/0.6974, allocations: 150.6 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-05/0.6974, allocations: 158.5 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.485e-05/0.6975, allocations: 154.6 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.6979, allocations: 469.8 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.698, allocations: 169.1 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.698, allocations: 88.14 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.698, allocations: 75.28 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/0.6981, allocations: 113.7 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6981, allocations: 0 / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.434e-05/0.6982, allocations: 33.69 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.6983, allocations: 126.7 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.6984, allocations: 140 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.6984, allocations: 25.7 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.6985, allocations: 96.09 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-06/0.6985, allocations: 0 / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.6985, allocations: 17.7 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6987, allocations: 318.8 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.6987, allocations: 3.938 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.351e-05/0.6987, allocations: 4 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.6987, allocations: 28.84 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6987, allocations: 4 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001225/0.6989, allocations: 45.64 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6989, allocations: 8 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.6989, allocations: 0 / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.6989, allocations: 3.984 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.6989, allocations: 0 / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6989, allocations: 4 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.6989, allocations: 3.953 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.6989, allocations: 0 / 1.28 GB, free: 13.67 MB / 0.9825 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.0001187/0.6991, allocations: 189.7 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.6991, allocations: 120.9 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.6992, allocations: 112.8 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-05/0.6993, allocations: 180.2 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.042e-05/0.6994, allocations: 176.3 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.932e-05/0.6995, allocations: 184.3 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.6997, allocations: 413.2 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.59e-05/0.6998, allocations: 105 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.6998, allocations: 112.9 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.388e-05/0.6999, allocations: 176.3 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/0.7, allocations: 176.3 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.344e-05/0.7001, allocations: 188.2 kB / 1.282 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.987e-05/0.7002, allocations: 180.3 kB / 1.283 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.7003, allocations: 303.8 kB / 1.283 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.7004, allocations: 194 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/0.7005, allocations: 184.2 kB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.095e-05/0.7006, allocations: 105 kB / 1.283 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.7007, allocations: 184.2 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.7008, allocations: 105 kB / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.606e-05/0.7008, allocations: 99.27 kB / 1.284 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7008, allocations: 0 / 1.284 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002773/0.7011, allocations: 35.86 kB / 1.284 GB, free: 10 MB / 0.9825 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.0002881/0.7014, allocations: 218.4 kB / 1.284 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.361e-05/0.7015, allocations: 49.56 kB / 1.284 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7015, allocations: 3.938 kB / 1.284 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.7015, allocations: 0 / 1.284 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.7019, allocations: 465.6 kB / 1.284 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.7023, allocations: 238.7 kB / 1.285 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.7026, allocations: 0.6884 MB / 1.285 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.707e-05/0.7026, allocations: 0 / 1.285 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.7026, allocations: 11.44 kB / 1.285 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.7027, allocations: 4 kB / 1.285 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.00424/0.7069, allocations: 1.525 MB / 1.287 GB, free: 6.762 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.120310433674604]