Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001536/0.001536, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001841/0.001841, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.399/3.399, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.002199/0.002199, allocations: 70.58 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4565, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003256/0.4598, allocations: 1.453 MB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004833/0.4646, allocations: 2.666 MB / 1.369 GB, free: 9.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.4647, allocations: 3.938 kB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.4647, allocations: 3.938 kB / 1.369 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.47e-05/0.4648, allocations: 23.78 kB / 1.369 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004417/0.4692, allocations: 1.633 MB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.4693, allocations: 39.75 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.4694, allocations: 3.984 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.4694, allocations: 11.94 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.03e-05/0.4694, allocations: 15.88 kB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.4694, allocations: 7.984 kB / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.4721, allocations: 1.478 MB / 1.372 GB, free: 6.203 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.4721, allocations: 8 kB / 1.372 GB, free: 6.195 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.4722, allocations: 23.86 kB / 1.372 GB, free: 6.172 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.4739, allocations: 1.099 MB / 1.373 GB, free: 5.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4739, allocations: 0 / 1.373 GB, free: 5.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4739, allocations: 0 / 1.373 GB, free: 5.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.4739, allocations: 0 / 1.373 GB, free: 5.07 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007003/0.4746, allocations: 472 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4746, allocations: 12.03 kB / 1.373 GB, free: 4.566 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.966e-05/0.4747, allocations: 80.17 kB / 1.374 GB, free: 4.488 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.4749, allocations: 204 kB / 1.374 GB, free: 4.266 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.475, allocations: 158.9 kB / 1.374 GB, free: 4.109 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.475, allocations: 150.9 kB / 1.374 GB, free: 3.961 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.436e-05/0.4751, allocations: 113.1 kB / 1.374 GB, free: 3.844 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/0.4752, allocations: 83.16 kB / 1.374 GB, free: 3.762 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.4752, allocations: 150.6 kB / 1.374 GB, free: 3.613 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.574e-05/0.4753, allocations: 150.6 kB / 1.374 GB, free: 3.465 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-05/0.4754, allocations: 150.6 kB / 1.375 GB, free: 3.316 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.4757, allocations: 413.6 kB / 1.375 GB, free: 2.883 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.4758, allocations: 169.1 kB / 1.375 GB, free: 2.707 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.4759, allocations: 84.08 kB / 1.375 GB, free: 2.621 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.4759, allocations: 75.28 kB / 1.375 GB, free: 2.547 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.527e-05/0.476, allocations: 117.8 kB / 1.375 GB, free: 2.422 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.476, allocations: 0 / 1.375 GB, free: 2.422 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.783e-05/0.4761, allocations: 41.59 kB / 1.375 GB, free: 2.375 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.4761, allocations: 126.7 kB / 1.376 GB, free: 2.238 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.4763, allocations: 129.8 kB / 1.376 GB, free: 2.102 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.4763, allocations: 25.7 kB / 1.376 GB, free: 2.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.4764, allocations: 96.12 kB / 1.376 GB, free: 1.973 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.4764, allocations: 0 / 1.376 GB, free: 1.973 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.4764, allocations: 21.77 kB / 1.376 GB, free: 1.945 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4766, allocations: 318.8 kB / 1.376 GB, free: 1.625 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.4766, allocations: 11.94 kB / 1.376 GB, free: 1.613 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.4766, allocations: 8 kB / 1.376 GB, free: 1.605 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.4767, allocations: 12.86 kB / 1.376 GB, free: 1.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4767, allocations: 0 / 1.376 GB, free: 1.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001301/0.4768, allocations: 49.66 kB / 1.376 GB, free: 1.535 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4768, allocations: 11.92 kB / 1.376 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.4768, allocations: 4 kB / 1.376 GB, free: 1.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4768, allocations: 0 / 1.376 GB, free: 1.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.4768, allocations: 0 / 1.376 GB, free: 1.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4768, allocations: 3.984 kB / 1.376 GB, free: 1.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.4769, allocations: 4 kB / 1.376 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.4769, allocations: 4.062 kB / 1.376 GB, free: 1.508 MB / 1.061 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000124/0.477, allocations: 189.1 kB / 1.376 GB, free: 1.312 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.4771, allocations: 108.9 kB / 1.377 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.599e-05/0.4771, allocations: 116.8 kB / 1.377 GB, free: 1.074 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.866e-05/0.4772, allocations: 180.2 kB / 1.377 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.26e-05/0.4773, allocations: 180.3 kB / 1.377 GB, free: 0.707 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.918e-05/0.4774, allocations: 184.2 kB / 1.377 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.4776, allocations: 368.9 kB / 1.378 GB, free: 124 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/0.4777, allocations: 109 kB / 1.378 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.4777, allocations: 108.9 kB / 1.378 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-05/0.4778, allocations: 180.3 kB / 1.378 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.4779, allocations: 184.1 kB / 1.378 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.718e-05/0.478, allocations: 180.3 kB / 1.378 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-05/0.4781, allocations: 184.2 kB / 1.378 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.4782, allocations: 307.7 kB / 1.379 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.4783, allocations: 112.9 kB / 1.379 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.4784, allocations: 192.2 kB / 1.379 GB, free: 14.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.4785, allocations: 101 kB / 1.379 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.4786, allocations: 180.2 kB / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.4786, allocations: 105 kB / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.005e-05/0.4787, allocations: 97.14 kB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4787, allocations: 7.938 kB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007908/0.4795, allocations: 299 kB / 1.38 GB, free: 13.72 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001108/0.4806, allocations: 0.5465 MB / 1.38 GB, free: 13.17 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.4807, allocations: 41.64 kB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4807, allocations: 4.062 kB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.4807, allocations: 0 / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.4812, allocations: 464.3 kB / 1.381 GB, free: 12.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.4816, allocations: 270.6 kB / 1.381 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.8e-05/0.4816, allocations: 67.58 kB / 1.381 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.4816, allocations: 11.44 kB / 1.381 GB, free: 12.26 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.4816, allocations: 4 kB / 1.381 GB, free: 12.26 MB / 1.076 GB Notification: Performance of Templates: time 0.008838/0.4905, allocations: 4.934 MB / 1.386 GB, free: 7.332 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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: 13.598842832259834]