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.001911/0.001911, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002361/0.002361, allocations: 219.1 kB / 23 MB, free: 4.914 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.446/3.446, allocations: 0.4892 GB / 0.7951 GB, free: 35.55 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.002199/0.002199, allocations: 68.39 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4013, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003145/0.4044, allocations: 1.487 MB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.4061, allocations: 0.8574 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.4062, allocations: 7.938 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.4064, allocations: 31.83 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.283e-05/0.4064, allocations: 31.78 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.407, allocations: 191.7 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.4071, allocations: 51.67 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.4072, allocations: 4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.4072, allocations: 27.86 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.559e-05/0.4073, allocations: 11.88 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.4073, allocations: 4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.4078, allocations: 171.8 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.4078, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.4078, allocations: 19.88 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.408, allocations: 127.5 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4081, allocations: 0 / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4081, allocations: 0 / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4081, allocations: 4 kB / 1.329 GB, free: 14.85 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.0004227/0.4085, allocations: 293.9 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4085, allocations: 8.031 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.647e-05/0.4086, allocations: 88.11 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.4089, allocations: 209.6 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.904e-05/0.409, allocations: 158.9 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.409, allocations: 150.9 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/0.4091, allocations: 105.3 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.4092, allocations: 75.28 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/0.4093, allocations: 162.6 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.862e-05/0.4093, allocations: 154.6 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.33e-05/0.4094, allocations: 154.5 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.4098, allocations: 417.5 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.4099, allocations: 169.1 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.4099, allocations: 84.12 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.41, allocations: 75.28 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.739e-05/0.41, allocations: 105.8 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.41, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.875e-05/0.4101, allocations: 41.53 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.4102, allocations: 130.7 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.4104, allocations: 135.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.4104, allocations: 25.7 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.4105, allocations: 96.12 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.4105, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.4105, allocations: 13.72 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.4107, allocations: 314.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.4107, allocations: 7.984 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.4107, allocations: 8 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.4107, allocations: 8.859 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4108, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001374/0.4109, allocations: 57.61 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4109, allocations: 12 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.4109, allocations: 4 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4109, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.4109, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4109, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.411, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.411, allocations: 4 kB / 1.332 GB, free: 11.46 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.0001235/0.4111, allocations: 185.1 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.4112, allocations: 116.8 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.12e-05/0.4113, allocations: 116.7 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.021e-05/0.4114, allocations: 180.3 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-05/0.4114, allocations: 184.2 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.561e-05/0.4115, allocations: 184.3 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.4118, allocations: 364.8 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-05/0.4119, allocations: 104.9 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.4119, allocations: 101 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-05/0.412, allocations: 184.2 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.753e-05/0.4121, allocations: 188.2 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.311e-05/0.4122, allocations: 176.3 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.266e-05/0.4123, allocations: 188.2 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.4125, allocations: 307.7 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.4126, allocations: 112.9 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.4127, allocations: 188.1 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.4128, allocations: 108.9 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.4129, allocations: 176.3 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.019e-05/0.4129, allocations: 104.9 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.682e-05/0.413, allocations: 105.5 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.413, allocations: 0 / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003279/0.4133, allocations: 35.86 kB / 1.336 GB, free: 7.934 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.0003176/0.4136, allocations: 214.4 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.4137, allocations: 45.69 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4137, allocations: 0 / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-06/0.4137, allocations: 0 / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.4143, allocations: 465.2 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.4147, allocations: 257 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.844e-05/0.4147, allocations: 67.34 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.4148, allocations: 11.5 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4148, allocations: 0 / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of Templates: time 0.003415/0.4182, allocations: 1.306 MB / 1.338 GB, free: 5.523 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.91647791583091]