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.001406/0.001406, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001611/0.001611, allocations: 221 kB / 23 MB, free: 4.918 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.774/2.774, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] 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.002179/0.002179, allocations: 70.23 kB / 1.118 GB, free: 41.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4149, allocations: 169.9 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006235/0.4211, allocations: 3.821 MB / 1.288 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.4251, allocations: 2.215 MB / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005646/0.4257, allocations: 12 kB / 1.29 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.4275, allocations: 0.5003 MB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006857/0.4282, allocations: 254 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.4284, allocations: 131.9 kB / 1.291 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009023/0.4293, allocations: 0.8176 MB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.4297, allocations: 215 kB / 1.292 GB, free: 4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004464/0.4302, allocations: 310.9 kB / 1.292 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.4306, allocations: 282.6 kB / 1.292 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.778e-05/0.4307, allocations: 76 kB / 1.292 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.4308, allocations: 76 kB / 1.292 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.431, allocations: 171.4 kB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.4313, allocations: 314.7 kB / 1.293 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.4323, allocations: 0.9963 MB / 1.294 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4323, allocations: 0 / 1.294 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4323, allocations: 0 / 1.294 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.4323, allocations: 3.938 kB / 1.294 GB, free: 1.789 MB / 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.001547/0.4339, allocations: 0.8977 MB / 1.295 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4339, allocations: 12.02 kB / 1.295 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.434, allocations: 76.47 kB / 1.295 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007284/0.4348, allocations: 404.2 kB / 1.295 GB, free: 360 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.4348, allocations: 33.38 kB / 1.295 GB, free: 324 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/0.4349, allocations: 52.31 kB / 1.295 GB, free: 272 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007748/0.4357, allocations: 430.8 kB / 1.296 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.4357, allocations: 7.984 kB / 1.296 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.4357, allocations: 23.94 kB / 1.296 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.4357, allocations: 12 kB / 1.296 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.4365, allocations: 359.8 kB / 1.296 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.4384, allocations: 1.164 MB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.439, allocations: 308 kB / 1.297 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/0.4395, allocations: 292.7 kB / 1.298 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.4395, allocations: 8 kB / 1.298 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.4395, allocations: 34.55 kB / 1.298 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.4395, allocations: 0 / 1.298 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.0009999/0.4405, allocations: 0.4907 MB / 1.298 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.4406, allocations: 55.41 kB / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.4411, allocations: 438 kB / 1.299 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.4412, allocations: 29.7 kB / 1.299 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.4414, allocations: 284.5 kB / 1.299 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.4415, allocations: 158.6 kB / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.4416, allocations: 62.08 kB / 1.299 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4418, allocations: 362.7 kB / 1.3 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.442, allocations: 116.7 kB / 1.3 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.4423, allocations: 129.2 kB / 1.3 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.4428, allocations: 294.2 kB / 1.3 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4428, allocations: 0 / 1.3 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006629/0.4435, allocations: 396.5 kB / 1.3 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4435, allocations: 10.89 kB / 1.3 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4435, allocations: 0 / 1.3 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.4435, allocations: 7.984 kB / 1.3 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.444, allocations: 131.8 kB / 1.301 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4441, allocations: 0 / 1.301 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.4443, allocations: 27.84 kB / 1.301 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.4443, allocations: 16 kB / 1.301 GB, free: 10.58 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.0002458/0.4445, allocations: 201.7 kB / 1.301 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.4446, allocations: 47.66 kB / 1.301 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.4447, allocations: 56.88 kB / 1.301 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4447, allocations: 11.98 kB / 1.301 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4447, allocations: 0 / 1.301 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4447, allocations: 0 / 1.301 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.4453, allocations: 420.9 kB / 1.301 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4453, allocations: 0 / 1.301 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.4458, allocations: 127.9 kB / 1.301 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4458, allocations: 0 / 1.301 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.4458, allocations: 19.88 kB / 1.301 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4458, allocations: 0 / 1.301 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4458, allocations: 0 / 1.301 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.4469, allocations: 0.6472 MB / 1.302 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.447, allocations: 59.64 kB / 1.302 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.447, allocations: 7.938 kB / 1.302 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4472, allocations: 20 kB / 1.302 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.4473, allocations: 23.94 kB / 1.302 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.4473, allocations: 12 kB / 1.302 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003786/0.4477, allocations: 319.1 kB / 1.303 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4477, allocations: 0 / 1.303 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004269/0.4481, allocations: 147.7 kB / 1.303 GB, free: 8.438 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.0001555/0.4483, allocations: 107.2 kB / 1.303 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000628/0.4489, allocations: 308 kB / 1.303 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4489, allocations: 0 / 1.303 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.4492, allocations: 167.9 kB / 1.303 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.4498, allocations: 100.3 kB / 1.303 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.4519, allocations: 1.241 MB / 1.305 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.4522, allocations: 271.2 kB / 1.305 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.4524, allocations: 35.44 kB / 1.305 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.4524, allocations: 3.938 kB / 1.305 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of Templates: time 0.01148/0.4638, allocations: 6.705 MB / 1.311 GB, free: 15.49 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.514149878174067]