Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.00163/0.00163, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002172/0.002172, allocations: 211.8 kB / 23.03 MB, free: 4.863 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.248/3.248, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [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.002152/0.002152, allocations: 74.58 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4208, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004866/0.4257, allocations: 2.848 MB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003245/0.4289, allocations: 1.973 MB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.4292, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.4307, allocations: 481.8 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.4311, allocations: 146.8 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.4312, allocations: 59.94 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.4317, allocations: 437.9 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.432, allocations: 95.84 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.4323, allocations: 171.3 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.4325, allocations: 159.2 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.4326, allocations: 36 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.964e-05/0.4326, allocations: 32 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.4328, allocations: 99.61 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.4329, allocations: 171.2 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.4336, allocations: 0.5486 MB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4336, allocations: 3.938 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4336, allocations: 0 / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.4336, allocations: 0 / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001084/0.4347, allocations: 0.6368 MB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4347, allocations: 8.031 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.646e-05/0.4348, allocations: 56.61 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.4354, allocations: 312.5 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.4354, allocations: 16.81 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.4355, allocations: 28.38 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.4359, allocations: 207.6 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4359, allocations: 0 / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.4359, allocations: 8 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4359, allocations: 4 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.4363, allocations: 161.7 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.4375, allocations: 0.6399 MB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.4378, allocations: 141 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.438, allocations: 106.5 kB / 1.337 GB, free: 7.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.438, allocations: 3.938 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.438, allocations: 34.56 kB / 1.337 GB, free: 7.223 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.438, allocations: 0 / 1.337 GB, free: 7.223 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0006179/0.4387, allocations: 253.6 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.4387, allocations: 59.34 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.4392, allocations: 389.7 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.4392, allocations: 29.7 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.4394, allocations: 216.3 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.134e-05/0.4394, allocations: 59.44 kB / 1.338 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.4395, allocations: 33.7 kB / 1.338 GB, free: 6.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.4397, allocations: 346.8 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4398, allocations: 59.97 kB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.44, allocations: 63.84 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.4403, allocations: 139.2 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4403, allocations: 3.938 kB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003858/0.4406, allocations: 197.4 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4407, allocations: 5.875 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4407, allocations: 8 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.4407, allocations: 0 / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.441, allocations: 59.84 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.441, allocations: 0 / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.4411, allocations: 19.94 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.4411, allocations: 4 kB / 1.338 GB, free: 5.258 MB / 1.029 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 (20): * Single equations (assignments): 20 * 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.0001765/0.4413, allocations: 162.4 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.4413, allocations: 35.77 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.299e-05/0.4414, allocations: 39.41 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.4414, allocations: 7.938 kB / 1.339 GB, free: 5.004 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4414, allocations: 3.938 kB / 1.339 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4414, allocations: 0 / 1.339 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.4418, allocations: 269.1 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4418, allocations: 0 / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.442, allocations: 55.97 kB / 1.339 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4421, allocations: 0 / 1.339 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.4421, allocations: 0 / 1.339 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.4421, allocations: 4 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.4421, allocations: 7.922 kB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.4427, allocations: 377 kB / 1.339 GB, free: 4.258 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.4428, allocations: 47.72 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.4428, allocations: 4 kB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.443, allocations: 15.98 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.443, allocations: 11.92 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.443, allocations: 4 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003317/0.4434, allocations: 287.2 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4434, allocations: 0 / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003145/0.4437, allocations: 75.95 kB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001424/0.4438, allocations: 107.2 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.4442, allocations: 135.9 kB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4442, allocations: 0 / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.4444, allocations: 77.16 kB / 1.34 GB, free: 3.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.4449, allocations: 91.67 kB / 1.34 GB, free: 3.414 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.4463, allocations: 0.7831 MB / 1.341 GB, free: 2.598 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.4465, allocations: 198.1 kB / 1.341 GB, free: 2.383 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.445e-05/0.4466, allocations: 23.44 kB / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4466, allocations: 0 / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of Templates: time 0.007504/0.4541, allocations: 4.34 MB / 1.345 GB, free: 14.05 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.481883203145117]