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.002174/0.002174, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.003047/0.003047, allocations: 210.8 kB / 22.24 MB, free: 5.266 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.781 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.873/2.873, allocations: 475.9 MB / 0.7699 GB, free: 4.754 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.003117/0.003117, allocations: 66.86 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4053, allocations: 169.9 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006023/0.4113, allocations: 3.818 MB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004094/0.4154, allocations: 2.211 MB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.4157, allocations: 11.94 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.4174, allocations: 0.4975 MB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005639/0.418, allocations: 262 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.4183, allocations: 139.8 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.4193, allocations: 0.8076 MB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.4198, allocations: 219 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004684/0.4202, allocations: 310.9 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.4206, allocations: 278.6 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.745e-05/0.4207, allocations: 72 kB / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.4209, allocations: 76 kB / 1.292 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.4211, allocations: 179.4 kB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.4214, allocations: 310.7 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.4225, allocations: 1 MB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4225, allocations: 0 / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4225, allocations: 0 / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.4225, allocations: 0 / 1.293 GB, free: 1.699 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.001596/0.4241, allocations: 0.8993 MB / 1.294 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4242, allocations: 8.031 kB / 1.294 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.4243, allocations: 76.47 kB / 1.294 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007399/0.425, allocations: 408.2 kB / 1.294 GB, free: 268 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.4251, allocations: 37.38 kB / 1.294 GB, free: 228 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/0.4252, allocations: 48.36 kB / 1.294 GB, free: 180 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000806/0.426, allocations: 426.8 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.426, allocations: 0 / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.426, allocations: 20 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.426, allocations: 12 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007206/0.4268, allocations: 367.7 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.4288, allocations: 1.172 MB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.4294, allocations: 316.7 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/0.4299, allocations: 284.7 kB / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.4299, allocations: 4 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.43, allocations: 47.19 kB / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 2.134e-06/0.43, allocations: 0 / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.00104/0.431, allocations: 0.49 MB / 1.297 GB, free: 13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.4311, allocations: 59.41 kB / 1.297 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/0.4316, allocations: 438 kB / 1.298 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.4317, allocations: 29.7 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.4319, allocations: 280.5 kB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.432, allocations: 158.6 kB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.4322, allocations: 62.08 kB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.4323, allocations: 358.8 kB / 1.299 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.4326, allocations: 116.7 kB / 1.299 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.4329, allocations: 133.2 kB / 1.299 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/0.4334, allocations: 298.2 kB / 1.299 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4334, allocations: 0 / 1.299 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007283/0.4342, allocations: 392.5 kB / 1.3 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4342, allocations: 7.938 kB / 1.3 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.4342, allocations: 4 kB / 1.3 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4342, allocations: 0 / 1.3 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.4347, allocations: 127.9 kB / 1.3 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4347, allocations: 0 / 1.3 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.435, allocations: 27.83 kB / 1.3 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.435, allocations: 12 kB / 1.3 GB, free: 10.5 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.0002527/0.4352, allocations: 201.7 kB / 1.3 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.867e-05/0.4353, allocations: 51.66 kB / 1.3 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.4354, allocations: 56.88 kB / 1.3 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4354, allocations: 4 kB / 1.3 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4355, allocations: 4 kB / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.4355, allocations: 7.922 kB / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.436, allocations: 420.9 kB / 1.301 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.436, allocations: 0 / 1.301 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.4366, allocations: 127.8 kB / 1.301 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4366, allocations: 0 / 1.301 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.4366, allocations: 15.94 kB / 1.301 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.4366, allocations: 0 / 1.301 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4366, allocations: 0 / 1.301 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.4377, allocations: 0.6473 MB / 1.301 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4378, allocations: 55.61 kB / 1.301 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.4379, allocations: 15.92 kB / 1.301 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.4381, allocations: 8 kB / 1.301 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.4382, allocations: 27.89 kB / 1.301 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.4382, allocations: 19.92 kB / 1.301 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004031/0.4386, allocations: 319.1 kB / 1.302 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4386, allocations: 0 / 1.302 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004607/0.4391, allocations: 147.7 kB / 1.302 GB, free: 8.344 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.0001637/0.4392, allocations: 115.2 kB / 1.302 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006578/0.4399, allocations: 296 kB / 1.302 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4399, allocations: 0 / 1.302 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.4402, allocations: 171.9 kB / 1.302 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006255/0.4408, allocations: 97.91 kB / 1.303 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.443, allocations: 1.211 MB / 1.304 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.4434, allocations: 267.2 kB / 1.304 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.4436, allocations: 43.39 kB / 1.304 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.4437, allocations: 39.36 kB / 1.304 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/0.4437, allocations: 0 / 1.304 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of Templates: time 0.01313/0.4568, allocations: 5.847 MB / 1.31 GB, free: 368 kB / 0.9981 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/jenkins/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: 9.811619507148862]