Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001878/0.001878, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.002212/0.002212, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.579/1.579, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.981/2.981, allocations: 0.49 GB / 0.7923 GB, free: 1.297 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.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_12_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_12_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.002041/0.002041, allocations: 63.91 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267/1.269, allocations: 176.1 MB / 1.322 GB, free: 25.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004008/1.273, allocations: 3.073 MB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002743/1.276, allocations: 2.196 MB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002831/1.277, allocations: 5.531 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/1.278, allocations: 0.5202 MB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003493/1.279, allocations: 137.8 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/1.279, allocations: 59.3 kB / 1.328 GB, free: 21.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005392/1.279, allocations: 444.2 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/1.279, allocations: 111.3 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/1.28, allocations: 176.7 kB / 1.329 GB, free: 20.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/1.28, allocations: 181.6 kB / 1.329 GB, free: 20.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/1.28, allocations: 34.06 kB / 1.329 GB, free: 20.58 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/1.28, allocations: 35.03 kB / 1.329 GB, free: 20.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/1.28, allocations: 96.33 kB / 1.329 GB, free: 20.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/1.281, allocations: 219 kB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006553/1.281, allocations: 0.5405 MB / 1.33 GB, free: 20.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.281, allocations: 0.875 kB / 1.33 GB, free: 20.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/1.281, allocations: 4 kB / 1.33 GB, free: 20.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.113e-05/1.281, allocations: 0.875 kB / 1.33 GB, free: 20.19 MB / 1.061 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.001114/1.282, allocations: 0.7077 MB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.283, allocations: 13.39 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/1.283, allocations: 55.11 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/1.283, allocations: 374.8 kB / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/1.283, allocations: 12.47 kB / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/1.283, allocations: 22 kB / 1.331 GB, free: 19.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/1.284, allocations: 209 kB / 1.331 GB, free: 19.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/1.284, allocations: 0 / 1.331 GB, free: 19.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/1.284, allocations: 11.42 kB / 1.331 GB, free: 19.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/1.284, allocations: 4.656 kB / 1.331 GB, free: 19.15 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/1.284, allocations: 166.1 kB / 1.331 GB, free: 19.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/1.286, allocations: 0.8556 MB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/1.286, allocations: 160.2 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/1.286, allocations: 98.38 kB / 1.332 GB, free: 18.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/1.286, allocations: 2.719 kB / 1.332 GB, free: 18.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/1.286, allocations: 32.5 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/1.286, allocations: 0 / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0006858/1.287, allocations: 268.7 kB / 1.333 GB, free: 18.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/1.287, allocations: 53.84 kB / 1.333 GB, free: 18.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/1.287, allocations: 417.2 kB / 1.333 GB, free: 17.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/1.287, allocations: 26.61 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/1.288, allocations: 203.1 kB / 1.333 GB, free: 17.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/1.288, allocations: 69.14 kB / 1.333 GB, free: 17.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/1.288, allocations: 29.5 kB / 1.333 GB, free: 17.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/1.288, allocations: 352.1 kB / 1.334 GB, free: 17.33 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/1.288, allocations: 53.19 kB / 1.334 GB, free: 17.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/1.288, allocations: 62.2 kB / 1.334 GB, free: 17.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/1.288, allocations: 132.7 kB / 1.334 GB, free: 17.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.288, allocations: 1.375 kB / 1.334 GB, free: 17.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004453/1.289, allocations: 213.9 kB / 1.334 GB, free: 17.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.289, allocations: 6.719 kB / 1.334 GB, free: 17.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.289, allocations: 0 / 1.334 GB, free: 17.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/1.289, allocations: 8.969 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/1.289, allocations: 55.75 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.289, allocations: 0 / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/1.289, allocations: 20.98 kB / 1.334 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/1.289, allocations: 3.625 kB / 1.334 GB, free: 17.11 MB / 1.061 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.0001578/1.29, allocations: 169.3 kB / 1.334 GB, free: 16.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/1.29, allocations: 36.11 kB / 1.334 GB, free: 16.94 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.262e-05/1.29, allocations: 45.27 kB / 1.334 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.29, allocations: 1.531 kB / 1.334 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.29, allocations: 0.8438 kB / 1.334 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/1.29, allocations: 1.266 kB / 1.334 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/1.29, allocations: 374.9 kB / 1.335 GB, free: 16.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.29, allocations: 4 kB / 1.335 GB, free: 16.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/1.291, allocations: 60.16 kB / 1.335 GB, free: 16.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.291, allocations: 5.125 kB / 1.335 GB, free: 16.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/1.291, allocations: 9.641 kB / 1.335 GB, free: 16.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.291, allocations: 0 / 1.335 GB, free: 16.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.291, allocations: 0.9062 kB / 1.335 GB, free: 16.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/1.291, allocations: 373.2 kB / 1.335 GB, free: 16.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.399e-05/1.291, allocations: 123.4 kB / 1.335 GB, free: 16.26 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/1.291, allocations: 9.891 kB / 1.335 GB, free: 16.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/1.292, allocations: 11.16 kB / 1.335 GB, free: 16.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/1.292, allocations: 10.09 kB / 1.335 GB, free: 16.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/1.292, allocations: 3 kB / 1.335 GB, free: 16.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004529/1.292, allocations: 302.9 kB / 1.336 GB, free: 16.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.292, allocations: 0.5625 kB / 1.336 GB, free: 16.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004323/1.293, allocations: 71.45 kB / 1.336 GB, free: 16.09 MB / 1.061 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.0001779/1.293, allocations: 115.9 kB / 1.336 GB, free: 15.99 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004975/1.293, allocations: 138.9 kB / 1.336 GB, free: 15.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.293, allocations: 0.5 kB / 1.336 GB, free: 15.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/1.293, allocations: 71.23 kB / 1.336 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/1.294, allocations: 96.86 kB / 1.336 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/1.295, allocations: 0.796 MB / 1.337 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/1.296, allocations: 0.7971 MB / 1.338 GB, free: 14.67 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/1.296, allocations: 25.59 kB / 1.338 GB, free: 14.66 MB / 1.061 GB Notification: Performance of SimCode: time 5.72e-07/1.296, allocations: 0 / 1.338 GB, free: 14.66 MB / 1.061 GB Notification: Performance of Templates: time 0.00979/1.306, allocations: 4.4 MB / 1.342 GB, free: 14.13 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.089697850009543]