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.001641/0.001641, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001792/0.001792, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.783/2.783, allocations: 377.9 MB / 0.6228 GB, free: 12.63 MB / 0.5919 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.00245/0.00245, allocations: 63.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9986/1.001, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003624/1.005, allocations: 2.863 MB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002296/1.007, allocations: 1.947 MB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/1.007, allocations: 6.031 kB / 1.159 GB, free: 30.12 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/1.008, allocations: 477.4 kB / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002019/1.009, allocations: 147.7 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001/1.009, allocations: 62.22 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003773/1.009, allocations: 442.4 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/1.009, allocations: 108.6 kB / 1.16 GB, free: 29.51 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/1.01, allocations: 164.3 kB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/1.01, allocations: 158.1 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/1.01, allocations: 34.44 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.459e-05/1.01, allocations: 35.66 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.414e-05/1.01, allocations: 100.3 kB / 1.16 GB, free: 29.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/1.01, allocations: 168 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004294/1.011, allocations: 0.5506 MB / 1.161 GB, free: 29.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.011, allocations: 7.422 kB / 1.161 GB, free: 29.01 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.215e-06/1.011, allocations: 3.938 kB / 1.161 GB, free: 29.01 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.045e-06/1.011, allocations: 0 / 1.161 GB, free: 29.01 MB / 1.076 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.0009258/1.011, allocations: 0.6314 MB / 1.162 GB, free: 28.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/1.011, allocations: 8.344 kB / 1.162 GB, free: 28.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/1.012, allocations: 55.95 kB / 1.162 GB, free: 28.49 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/1.012, allocations: 312.6 kB / 1.162 GB, free: 28.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/1.012, allocations: 13.72 kB / 1.162 GB, free: 28.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/1.012, allocations: 22.78 kB / 1.162 GB, free: 28.24 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/1.012, allocations: 205 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/1.012, allocations: 3 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/1.012, allocations: 8 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/1.012, allocations: 9.469 kB / 1.162 GB, free: 28.13 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/1.013, allocations: 169.5 kB / 1.162 GB, free: 28.08 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009141/1.014, allocations: 0.6253 MB / 1.163 GB, free: 27.67 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/1.014, allocations: 151.1 kB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/1.014, allocations: 107.4 kB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/1.014, allocations: 0 / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/1.014, allocations: 41.5 kB / 1.163 GB, free: 27.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/1.014, allocations: 0 / 1.163 GB, free: 27.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.0005374/1.015, allocations: 252.2 kB / 1.164 GB, free: 27.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/1.015, allocations: 61.91 kB / 1.164 GB, free: 27.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/1.015, allocations: 391.8 kB / 1.164 GB, free: 27.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/1.015, allocations: 29.7 kB / 1.164 GB, free: 27.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/1.015, allocations: 205.7 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/1.015, allocations: 62.7 kB / 1.164 GB, free: 26.87 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/1.015, allocations: 36.34 kB / 1.164 GB, free: 26.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/1.015, allocations: 349.5 kB / 1.165 GB, free: 26.51 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/1.016, allocations: 56.06 kB / 1.165 GB, free: 26.49 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/1.016, allocations: 51.14 kB / 1.165 GB, free: 26.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/1.016, allocations: 140.5 kB / 1.165 GB, free: 26.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.016, allocations: 2.156 kB / 1.165 GB, free: 26.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003347/1.016, allocations: 207.8 kB / 1.165 GB, free: 26.31 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.016, allocations: 8.594 kB / 1.165 GB, free: 26.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.016, allocations: 3.938 kB / 1.165 GB, free: 26.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.016, allocations: 0 / 1.165 GB, free: 26.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/1.017, allocations: 60.03 kB / 1.165 GB, free: 26.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/1.017, allocations: 0 / 1.165 GB, free: 26.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/1.017, allocations: 15.77 kB / 1.165 GB, free: 26.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/1.017, allocations: 10.62 kB / 1.165 GB, free: 26.29 MB / 1.076 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.0001267/1.017, allocations: 161.8 kB / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/1.017, allocations: 39.52 kB / 1.165 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.054e-05/1.017, allocations: 37.12 kB / 1.165 GB, free: 26.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.017, allocations: 6.594 kB / 1.165 GB, free: 26.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.017, allocations: 0 / 1.165 GB, free: 26.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.017, allocations: 0 / 1.165 GB, free: 26.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/1.017, allocations: 270.4 kB / 1.166 GB, free: 25.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.017, allocations: 2.906 kB / 1.166 GB, free: 25.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/1.017, allocations: 54.7 kB / 1.166 GB, free: 25.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/1.017, allocations: 0 / 1.166 GB, free: 25.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/1.017, allocations: 6.625 kB / 1.166 GB, free: 25.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.017, allocations: 0 / 1.166 GB, free: 25.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.017, allocations: 7.875 kB / 1.166 GB, free: 25.89 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/1.018, allocations: 373.5 kB / 1.166 GB, free: 25.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/1.018, allocations: 42.2 kB / 1.166 GB, free: 25.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/1.018, allocations: 6.906 kB / 1.166 GB, free: 25.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/1.018, allocations: 18.5 kB / 1.166 GB, free: 25.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/1.018, allocations: 13.78 kB / 1.166 GB, free: 25.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.485e-06/1.018, allocations: 3.156 kB / 1.166 GB, free: 25.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000237/1.019, allocations: 289 kB / 1.166 GB, free: 25.47 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.019, allocations: 0 / 1.166 GB, free: 25.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002933/1.019, allocations: 72.83 kB / 1.167 GB, free: 25.46 MB / 1.076 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.0001065/1.019, allocations: 110.2 kB / 1.167 GB, free: 25.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003322/1.019, allocations: 140.8 kB / 1.167 GB, free: 25.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.019, allocations: 2.938 kB / 1.167 GB, free: 25.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/1.019, allocations: 77.94 kB / 1.167 GB, free: 25.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/1.02, allocations: 83.58 kB / 1.167 GB, free: 25.27 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/1.021, allocations: 0.7571 MB / 1.168 GB, free: 24.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/1.021, allocations: 195.9 kB / 1.168 GB, free: 24.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.865e-05/1.021, allocations: 39.88 kB / 1.168 GB, free: 24.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/1.021, allocations: 22.09 kB / 1.168 GB, free: 24.68 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.021, allocations: 0 / 1.168 GB, free: 24.68 MB / 1.076 GB Notification: Performance of Templates: time 0.008178/1.029, allocations: 3.648 MB / 1.171 GB, free: 24.22 MB / 1.076 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 -s ida -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: 8.926341666956432]