Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001689/0.001689, allocations: 117.7 kB / 17.13 MB, free: 6.047 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.001787/0.001787, allocations: 209.8 kB / 20.09 MB, free: 3.098 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.97/2.97, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [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.002083/0.002083, allocations: 73.7 kB / 1.15 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138/1.14, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00488/1.145, allocations: 4.191 MB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003509/1.148, allocations: 2.468 MB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/1.148, allocations: 14.41 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/1.15, allocations: 0.5658 MB / 1.329 GB, free: 20.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005064/1.151, allocations: 240.9 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/1.151, allocations: 135.6 kB / 1.329 GB, free: 19.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009318/1.152, allocations: 0.809 MB / 1.33 GB, free: 19.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/1.152, allocations: 229.5 kB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005399/1.153, allocations: 315 kB / 1.331 GB, free: 19.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/1.153, allocations: 324 kB / 1.331 GB, free: 18.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/1.153, allocations: 74.5 kB / 1.331 GB, free: 18.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/1.154, allocations: 73.84 kB / 1.331 GB, free: 18.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/1.154, allocations: 172.5 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003922/1.154, allocations: 387.7 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001326/1.156, allocations: 0.9973 MB / 1.333 GB, free: 18.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/1.156, allocations: 1.703 kB / 1.333 GB, free: 18.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/1.156, allocations: 0 / 1.333 GB, free: 18.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.479e-05/1.156, allocations: 4 kB / 1.333 GB, free: 18.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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001621/1.157, allocations: 0.9633 MB / 1.334 GB, free: 17.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.157, allocations: 13.14 kB / 1.334 GB, free: 17.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/1.157, allocations: 77.34 kB / 1.334 GB, free: 17.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/1.158, allocations: 462.3 kB / 1.334 GB, free: 17.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/1.158, allocations: 32.5 kB / 1.334 GB, free: 17.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-05/1.158, allocations: 52.83 kB / 1.334 GB, free: 17.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008709/1.159, allocations: 432.6 kB / 1.335 GB, free: 16.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/1.159, allocations: 5.547 kB / 1.335 GB, free: 16.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.574e-05/1.159, allocations: 21.03 kB / 1.335 GB, free: 16.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/1.159, allocations: 11.44 kB / 1.335 GB, free: 16.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008147/1.16, allocations: 365 kB / 1.335 GB, free: 16.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/1.163, allocations: 1.52 MB / 1.337 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/1.163, allocations: 306.3 kB / 1.337 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/1.164, allocations: 286.4 kB / 1.337 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/1.164, allocations: 12.78 kB / 1.337 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/1.164, allocations: 41.88 kB / 1.337 GB, free: 15.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=42): time 2.485e-06/1.164, allocations: 0 / 1.337 GB, free: 15.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=42): time 0.001062/1.165, allocations: 0.4909 MB / 1.338 GB, free: 15.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/1.165, allocations: 60.34 kB / 1.338 GB, free: 15.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006236/1.166, allocations: 480 kB / 1.338 GB, free: 14.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/1.166, allocations: 41.2 kB / 1.338 GB, free: 14.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/1.166, allocations: 278.1 kB / 1.338 GB, free: 14.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/1.166, allocations: 151.6 kB / 1.339 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.166, allocations: 62.67 kB / 1.339 GB, free: 14.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.166, allocations: 362.7 kB / 1.339 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/1.166, allocations: 120.1 kB / 1.339 GB, free: 14.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/1.167, allocations: 123.5 kB / 1.339 GB, free: 14.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/1.167, allocations: 301.4 kB / 1.34 GB, free: 14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.167, allocations: 0 / 1.34 GB, free: 14 MB / 1.061 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006946/1.168, allocations: 401.9 kB / 1.34 GB, free: 13.81 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.168, allocations: 4.375 kB / 1.34 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.168, allocations: 0 / 1.34 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.168, allocations: 2.656 kB / 1.34 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/1.168, allocations: 128.6 kB / 1.34 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.168, allocations: 1.469 kB / 1.34 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/1.169, allocations: 38.92 kB / 1.34 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/1.169, allocations: 8.344 kB / 1.34 GB, free: 13.77 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 (46): * Single equations (assignments): 46 * 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.0002224/1.169, allocations: 203.1 kB / 1.34 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/1.169, allocations: 56.36 kB / 1.34 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/1.169, allocations: 60.89 kB / 1.34 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.169, allocations: 12.22 kB / 1.34 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.169, allocations: 2.016 kB / 1.34 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1.169, allocations: 1.922 kB / 1.34 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007668/1.17, allocations: 0.5771 MB / 1.341 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.17, allocations: 3.984 kB / 1.341 GB, free: 13.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/1.17, allocations: 129 kB / 1.341 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.17, allocations: 1.766 kB / 1.341 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/1.171, allocations: 6.062 kB / 1.341 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.171, allocations: 2.531 kB / 1.341 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.171, allocations: 4.656 kB / 1.341 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.172, allocations: 0.6473 MB / 1.342 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/1.172, allocations: 140.7 kB / 1.342 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/1.172, allocations: 10.34 kB / 1.342 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/1.172, allocations: 15.97 kB / 1.342 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/1.172, allocations: 28.58 kB / 1.342 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/1.172, allocations: 11.31 kB / 1.342 GB, free: 12.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004288/1.172, allocations: 351.8 kB / 1.342 GB, free: 12.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.172, allocations: 1.25 kB / 1.342 GB, free: 12.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004715/1.173, allocations: 143.5 kB / 1.342 GB, free: 12.41 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001582/1.173, allocations: 113.7 kB / 1.343 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006385/1.174, allocations: 304.1 kB / 1.343 GB, free: 12.22 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.174, allocations: 0 / 1.343 GB, free: 12.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002927/1.174, allocations: 167.3 kB / 1.343 GB, free: 12.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006956/1.175, allocations: 116.4 kB / 1.343 GB, free: 12.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/1.177, allocations: 1.251 MB / 1.344 GB, free: 11.33 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/1.177, allocations: 0.8719 MB / 1.345 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/1.177, allocations: 38.03 kB / 1.345 GB, free: 10.61 MB / 1.061 GB Notification: Performance of SimCode: time 9.51e-07/1.177, allocations: 0 / 1.345 GB, free: 10.61 MB / 1.061 GB Notification: Performance of Templates: time 0.01684/1.194, allocations: 6.905 MB / 1.352 GB, free: 9.777 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.452122386006522]