Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001344/0.001344, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001754/0.001754, allocations: 218.8 kB / 23.01 MB, free: 4.605 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.942/2.942, allocations: 476.8 MB / 0.7714 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [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.002067/0.002067, allocations: 66.7 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4039, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005255/0.4091, allocations: 3.104 MB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003585/0.4127, allocations: 2.191 MB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.413, allocations: 11.94 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.4146, allocations: 0.5094 MB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.415, allocations: 150.9 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.4151, allocations: 59.94 kB / 1.291 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.4157, allocations: 445.9 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.416, allocations: 99.84 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.4163, allocations: 179.2 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.4166, allocations: 179.2 kB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.4166, allocations: 36 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.469e-05/0.4167, allocations: 39.94 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.4168, allocations: 103.6 kB / 1.292 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.4171, allocations: 211 kB / 1.292 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006699/0.4177, allocations: 0.5486 MB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.4178, allocations: 3.984 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4178, allocations: 0 / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.4178, allocations: 0 / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001195/0.419, allocations: 0.6445 MB / 1.293 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.419, allocations: 12.03 kB / 1.293 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.158e-05/0.4191, allocations: 48.66 kB / 1.293 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00066/0.4198, allocations: 316.6 kB / 1.293 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.4198, allocations: 16.81 kB / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/0.4198, allocations: 24.33 kB / 1.293 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.4203, allocations: 199.6 kB / 1.294 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.4203, allocations: 0 / 1.294 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.4203, allocations: 16 kB / 1.294 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.4203, allocations: 4 kB / 1.294 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.4207, allocations: 169.6 kB / 1.294 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.4221, allocations: 0.8316 MB / 1.295 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.4224, allocations: 142.5 kB / 1.295 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.4226, allocations: 104.8 kB / 1.295 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4226, allocations: 0 / 1.295 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.4226, allocations: 38.55 kB / 1.295 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.4226, allocations: 4 kB / 1.295 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0006289/0.4233, allocations: 253.6 kB / 1.295 GB, free: 372 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.4233, allocations: 55.31 kB / 1.295 GB, free: 304 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/0.4239, allocations: 413.8 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.4239, allocations: 29.7 kB / 1.296 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.424, allocations: 208.4 kB / 1.296 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.597e-05/0.4241, allocations: 71.44 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.766e-05/0.4242, allocations: 33.7 kB / 1.296 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4244, allocations: 346.8 kB / 1.296 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.4245, allocations: 55.91 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.4247, allocations: 59.97 kB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.4249, allocations: 131 kB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4249, allocations: 4 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003846/0.4253, allocations: 211.7 kB / 1.297 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4253, allocations: 10.5 kB / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4253, allocations: 0 / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4254, allocations: 3.938 kB / 1.297 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.4256, allocations: 55.91 kB / 1.297 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4256, allocations: 4 kB / 1.297 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.4258, allocations: 27.81 kB / 1.297 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.4258, allocations: 4 kB / 1.297 GB, free: 14.62 MB / 0.9981 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001918/0.426, allocations: 161.8 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.4261, allocations: 35.77 kB / 1.297 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.939e-05/0.4261, allocations: 43.47 kB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4262, allocations: 7.938 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4262, allocations: 0 / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4262, allocations: 0 / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.4266, allocations: 348.3 kB / 1.297 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4266, allocations: 4 kB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.4269, allocations: 55.97 kB / 1.297 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4269, allocations: 0 / 1.297 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.4269, allocations: 7.938 kB / 1.297 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.4269, allocations: 4 kB / 1.297 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4269, allocations: 0 / 1.297 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.4276, allocations: 383 kB / 1.298 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.4277, allocations: 47.72 kB / 1.298 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.4277, allocations: 7.938 kB / 1.298 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.4279, allocations: 11.98 kB / 1.298 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.4279, allocations: 7.984 kB / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.428, allocations: 8 kB / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003714/0.4283, allocations: 299.1 kB / 1.298 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4283, allocations: 0 / 1.298 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003221/0.4286, allocations: 75.95 kB / 1.298 GB, free: 13.08 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001696/0.4288, allocations: 103.2 kB / 1.298 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003768/0.4292, allocations: 139.9 kB / 1.298 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4292, allocations: 0 / 1.298 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.4294, allocations: 75.91 kB / 1.298 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.4299, allocations: 99.47 kB / 1.299 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.4315, allocations: 0.7831 MB / 1.299 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.432, allocations: 0.8105 MB / 1.3 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.4321, allocations: 23.44 kB / 1.3 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.4321, allocations: 0 / 1.3 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of Templates: time 0.007737/0.4398, allocations: 4.416 MB / 1.304 GB, free: 6.617 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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: 12.861046172998613]