Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001911/0.001911, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002805/0.002805, allocations: 218 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.738/2.738, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_11_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_11_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.002047/0.002047, allocations: 70.09 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3957, 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.InternalResistancesTwoUTube): time 0.006999/0.4027, allocations: 4.217 MB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004195/0.4069, allocations: 2.468 MB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.4073, allocations: 8 kB / 1.291 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.4091, allocations: 0.5481 MB / 1.292 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006006/0.4097, allocations: 254 kB / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.4099, allocations: 135.8 kB / 1.292 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009221/0.4109, allocations: 0.8103 MB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004094/0.4113, allocations: 243 kB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.4117, allocations: 307 kB / 1.293 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/0.4122, allocations: 326.6 kB / 1.294 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.951e-05/0.4122, allocations: 76 kB / 1.294 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.4124, allocations: 76 kB / 1.294 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.4126, allocations: 171.4 kB / 1.294 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.4129, allocations: 386.3 kB / 1.294 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.414, allocations: 0.9962 MB / 1.295 GB, free: 168 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.414, allocations: 0 / 1.295 GB, free: 168 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.414, allocations: 0 / 1.295 GB, free: 168 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.414, allocations: 4 kB / 1.295 GB, free: 164 kB / 0.9825 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.001562/0.4156, allocations: 0.8957 MB / 1.296 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4157, allocations: 8.031 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.4158, allocations: 80.47 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000706/0.4165, allocations: 408.1 kB / 1.297 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.4165, allocations: 37.38 kB / 1.297 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.4166, allocations: 52.36 kB / 1.297 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.4174, allocations: 430.7 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.4174, allocations: 4 kB / 1.297 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.4174, allocations: 20 kB / 1.297 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.4174, allocations: 12 kB / 1.297 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006973/0.4181, allocations: 367.8 kB / 1.298 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.4203, allocations: 1.476 MB / 1.299 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.4208, allocations: 311.4 kB / 1.299 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.4213, allocations: 280.8 kB / 1.3 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.4213, allocations: 8 kB / 1.3 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.4213, allocations: 42.48 kB / 1.3 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.4213, allocations: 0 / 1.3 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.0009884/0.4223, allocations: 498.5 kB / 1.3 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.4224, allocations: 59.41 kB / 1.3 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/0.423, allocations: 481.9 kB / 1.301 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.423, allocations: 41.7 kB / 1.301 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.4232, allocations: 276.7 kB / 1.301 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.4234, allocations: 158.6 kB / 1.301 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.58e-05/0.4235, allocations: 54.08 kB / 1.301 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4236, allocations: 366.8 kB / 1.302 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.4239, allocations: 120.7 kB / 1.302 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.4241, allocations: 129.2 kB / 1.302 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005133/0.4246, allocations: 299 kB / 1.302 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4246, allocations: 0 / 1.302 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006665/0.4253, allocations: 404.4 kB / 1.302 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4253, allocations: 4 kB / 1.302 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4253, allocations: 7.938 kB / 1.302 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4253, allocations: 0 / 1.302 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.4259, allocations: 127.9 kB / 1.303 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4259, allocations: 3.938 kB / 1.303 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.4261, allocations: 39.77 kB / 1.303 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4261, allocations: 8 kB / 1.303 GB, free: 8.547 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 (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.0002428/0.4263, allocations: 193.8 kB / 1.303 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.4264, allocations: 59.61 kB / 1.303 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.4265, allocations: 57.11 kB / 1.303 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.4266, allocations: 8 kB / 1.303 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.4266, allocations: 3.984 kB / 1.303 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4266, allocations: 0 / 1.303 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007028/0.4273, allocations: 0.543 MB / 1.303 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4273, allocations: 0 / 1.303 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.4278, allocations: 127.8 kB / 1.304 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.4278, allocations: 4 kB / 1.304 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.4278, allocations: 8 kB / 1.304 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4278, allocations: 4 kB / 1.304 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4278, allocations: 8 kB / 1.304 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.4289, allocations: 0.651 MB / 1.304 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.429, allocations: 63.58 kB / 1.304 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.24e-05/0.429, allocations: 8 kB / 1.304 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.4292, allocations: 15.98 kB / 1.304 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.4293, allocations: 23.95 kB / 1.304 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.4293, allocations: 12 kB / 1.304 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004162/0.4297, allocations: 351.1 kB / 1.305 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4297, allocations: 0 / 1.305 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000423/0.4302, allocations: 143.7 kB / 1.305 GB, free: 6.219 MB / 0.9981 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.0001675/0.4303, allocations: 119.1 kB / 1.305 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006146/0.4309, allocations: 311.8 kB / 1.305 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.431, allocations: 0 / 1.305 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.4312, allocations: 167.9 kB / 1.305 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.4319, allocations: 132.8 kB / 1.306 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.4342, allocations: 1.239 MB / 1.307 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.4347, allocations: 0.8665 MB / 1.308 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.4348, allocations: 39.44 kB / 1.308 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/0.4348, allocations: 0 / 1.308 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of Templates: time 0.01115/0.446, allocations: 6.927 MB / 1.314 GB, free: 12.43 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.65554987298674]