Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001914/0.001914, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002732/0.002732, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.528/3.528, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002113/0.002113, allocations: 66.12 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.411, allocations: 181.9 MB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005906/0.4169, allocations: 3.807 MB / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004134/0.421, allocations: 2.234 MB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.4213, allocations: 8 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.4231, allocations: 0.5154 MB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.4236, allocations: 246 kB / 1.371 GB, free: 6.867 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.4238, allocations: 143.8 kB / 1.371 GB, free: 6.727 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009439/0.4248, allocations: 0.7981 MB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004324/0.4252, allocations: 223 kB / 1.372 GB, free: 5.699 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004368/0.4257, allocations: 295 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003891/0.426, allocations: 290.6 kB / 1.372 GB, free: 5.125 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-05/0.4261, allocations: 72 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.4263, allocations: 76 kB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.4265, allocations: 167.4 kB / 1.373 GB, free: 4.816 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.4268, allocations: 318.6 kB / 1.373 GB, free: 4.504 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.4279, allocations: 1 MB / 1.374 GB, free: 3.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4279, allocations: 0 / 1.374 GB, free: 3.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4279, allocations: 0 / 1.374 GB, free: 3.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.4279, allocations: 0 / 1.374 GB, free: 3.5 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.001611/0.4296, allocations: 0.8861 MB / 1.375 GB, free: 2.582 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.4296, allocations: 16.03 kB / 1.375 GB, free: 2.566 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.4297, allocations: 76.47 kB / 1.375 GB, free: 2.492 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007664/0.4305, allocations: 400.2 kB / 1.375 GB, free: 2.078 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.4305, allocations: 41.31 kB / 1.375 GB, free: 2.039 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.4306, allocations: 48.38 kB / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007942/0.4314, allocations: 426.8 kB / 1.376 GB, free: 1.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.4314, allocations: 3.984 kB / 1.376 GB, free: 1.566 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.4315, allocations: 20 kB / 1.376 GB, free: 1.547 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.4315, allocations: 16 kB / 1.376 GB, free: 1.531 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000735/0.4322, allocations: 363.8 kB / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.4343, allocations: 1.172 MB / 1.377 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.435, allocations: 319.2 kB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/0.4356, allocations: 284.4 kB / 1.378 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4356, allocations: 4 kB / 1.378 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.4356, allocations: 42.55 kB / 1.378 GB, free: 15.3 MB / 1.076 GB Notification: Performance of pre-optimization done (n=42): time 1.924e-06/0.4356, allocations: 4 kB / 1.378 GB, free: 15.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=42): time 0.001058/0.4367, allocations: 0.4902 MB / 1.378 GB, free: 14.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.4367, allocations: 55.41 kB / 1.378 GB, free: 14.74 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005593/0.4373, allocations: 438 kB / 1.379 GB, free: 14.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.4373, allocations: 29.7 kB / 1.379 GB, free: 14.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.4376, allocations: 284.5 kB / 1.379 GB, free: 13.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.4377, allocations: 150.7 kB / 1.379 GB, free: 13.84 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.4378, allocations: 62.08 kB / 1.379 GB, free: 13.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.438, allocations: 370.7 kB / 1.38 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.4383, allocations: 116.7 kB / 1.38 GB, free: 13.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.4386, allocations: 125.4 kB / 1.38 GB, free: 13.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005533/0.4391, allocations: 290.2 kB / 1.38 GB, free: 12.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4391, allocations: 0 / 1.38 GB, free: 12.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000706/0.4398, allocations: 404.5 kB / 1.38 GB, free: 12.47 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4398, allocations: 7.938 kB / 1.38 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4398, allocations: 0 / 1.38 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.4399, allocations: 7.984 kB / 1.381 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.4404, allocations: 123.9 kB / 1.381 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4404, allocations: 0 / 1.381 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.4406, allocations: 31.77 kB / 1.381 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.4406, allocations: 12 kB / 1.381 GB, free: 12.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 (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.0002373/0.4408, allocations: 201.8 kB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/0.4409, allocations: 51.61 kB / 1.381 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.441, allocations: 52.81 kB / 1.381 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.441, allocations: 4 kB / 1.381 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.441, allocations: 4 kB / 1.381 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4411, allocations: 3.984 kB / 1.381 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.4416, allocations: 405 kB / 1.381 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.4416, allocations: 4 kB / 1.381 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.4421, allocations: 127.8 kB / 1.381 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4421, allocations: 8 kB / 1.381 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.4422, allocations: 7.938 kB / 1.381 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4422, allocations: 4 kB / 1.381 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4422, allocations: 0 / 1.381 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.4432, allocations: 0.6522 MB / 1.382 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4433, allocations: 59.58 kB / 1.382 GB, free: 10.67 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.4434, allocations: 11.94 kB / 1.382 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.4436, allocations: 8 kB / 1.382 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.4437, allocations: 31.95 kB / 1.382 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4437, allocations: 11.98 kB / 1.382 GB, free: 10.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003705/0.4441, allocations: 315.1 kB / 1.383 GB, free: 10.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4441, allocations: 0 / 1.383 GB, free: 10.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003976/0.4444, allocations: 147.7 kB / 1.383 GB, free: 10.16 MB / 1.076 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.0001676/0.4446, allocations: 111.2 kB / 1.383 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000621/0.4452, allocations: 311.4 kB / 1.383 GB, free: 9.738 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4452, allocations: 4 kB / 1.383 GB, free: 9.734 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.4455, allocations: 163.8 kB / 1.383 GB, free: 9.574 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.4461, allocations: 97.12 kB / 1.383 GB, free: 9.484 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.4482, allocations: 1.206 MB / 1.385 GB, free: 8.246 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.4485, allocations: 271 kB / 1.385 GB, free: 7.957 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00017/0.4486, allocations: 47.33 kB / 1.385 GB, free: 7.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.4487, allocations: 35.44 kB / 1.385 GB, free: 7.875 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.4487, allocations: 0 / 1.385 GB, free: 7.875 MB / 1.076 GB Notification: Performance of Templates: time 0.0123/0.4611, allocations: 5.818 MB / 1.391 GB, free: 2.188 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.911761164665222]