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.InternalResistancesTwoUTubeNegative.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.002018/0.002018, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00276/0.00276, allocations: 217.3 kB / 22.25 MB, free: 4.855 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.801 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.561/3.561, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 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.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") [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.002143/0.002143, allocations: 67.23 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4058, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003672/0.4095, allocations: 1.454 MB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005594/0.4151, allocations: 2.666 MB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.4151, allocations: 4 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.4152, allocations: 3.938 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.4153, allocations: 23.78 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00502/0.4203, allocations: 1.636 MB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.4204, allocations: 43.69 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.4205, allocations: 3.984 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.4205, allocations: 19.94 kB / 1.37 GB, free: 7.715 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.097e-05/0.4205, allocations: 11.94 kB / 1.37 GB, free: 7.703 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.4205, allocations: 3.938 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.4235, allocations: 1.486 MB / 1.371 GB, free: 6.211 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.4235, allocations: 3.984 kB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.4235, allocations: 19.86 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.4257, allocations: 1.099 MB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4257, allocations: 0 / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4257, allocations: 0 / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.4257, allocations: 0 / 1.372 GB, free: 5.086 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.00087/0.4266, allocations: 476 kB / 1.373 GB, free: 4.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.4266, allocations: 8.031 kB / 1.373 GB, free: 4.582 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.475e-05/0.4267, allocations: 92.17 kB / 1.373 GB, free: 4.492 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.4269, allocations: 197.6 kB / 1.373 GB, free: 4.273 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.427, allocations: 150.9 kB / 1.373 GB, free: 4.125 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/0.4271, allocations: 154.9 kB / 1.373 GB, free: 3.973 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.186e-05/0.4272, allocations: 105.1 kB / 1.373 GB, free: 3.863 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.894e-05/0.4272, allocations: 79.22 kB / 1.373 GB, free: 3.785 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.395e-05/0.4273, allocations: 150.6 kB / 1.374 GB, free: 3.637 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/0.4274, allocations: 150.6 kB / 1.374 GB, free: 3.488 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.4274, allocations: 154.6 kB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.4278, allocations: 409.6 kB / 1.374 GB, free: 2.906 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.4279, allocations: 177.1 kB / 1.374 GB, free: 2.723 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.4279, allocations: 88.08 kB / 1.374 GB, free: 2.633 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.428, allocations: 75.28 kB / 1.375 GB, free: 2.559 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/0.428, allocations: 109.8 kB / 1.375 GB, free: 2.441 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.133e-06/0.428, allocations: 0 / 1.375 GB, free: 2.441 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.743e-05/0.4281, allocations: 37.59 kB / 1.375 GB, free: 2.398 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.4282, allocations: 126.7 kB / 1.375 GB, free: 2.262 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.4284, allocations: 140.6 kB / 1.375 GB, free: 2.117 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4284, allocations: 25.7 kB / 1.375 GB, free: 2.086 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.4285, allocations: 92.12 kB / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.4285, allocations: 0 / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.4285, allocations: 21.77 kB / 1.375 GB, free: 1.965 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4287, allocations: 322.8 kB / 1.375 GB, free: 1.641 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.4287, allocations: 7.938 kB / 1.375 GB, free: 1.633 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.4288, allocations: 8 kB / 1.375 GB, free: 1.625 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.219e-05/0.4288, allocations: 16.92 kB / 1.375 GB, free: 1.605 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4288, allocations: 0 / 1.375 GB, free: 1.605 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001502/0.429, allocations: 49.64 kB / 1.375 GB, free: 1.551 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.429, allocations: 11.94 kB / 1.375 GB, free: 1.539 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.429, allocations: 0 / 1.375 GB, free: 1.539 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.429, allocations: 4 kB / 1.375 GB, free: 1.535 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.429, allocations: 64 / 1.375 GB, free: 1.535 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.429, allocations: 4 kB / 1.375 GB, free: 1.531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.429, allocations: 0 / 1.375 GB, free: 1.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-06/0.429, allocations: 4 kB / 1.375 GB, free: 1.527 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.000132/0.4292, allocations: 191.2 kB / 1.376 GB, free: 1.332 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.4293, allocations: 116.9 kB / 1.376 GB, free: 1.211 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.428e-05/0.4293, allocations: 108.8 kB / 1.376 GB, free: 1.094 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/0.4294, allocations: 184.2 kB / 1.376 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.136e-05/0.4295, allocations: 180.3 kB / 1.376 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.596e-05/0.4296, allocations: 180.2 kB / 1.376 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.4299, allocations: 364.8 kB / 1.377 GB, free: 148 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-05/0.43, allocations: 109 kB / 1.377 GB, free: 32 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.537e-05/0.43, allocations: 108.9 kB / 1.377 GB, free: 15.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.4301, allocations: 180.3 kB / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.4303, allocations: 188.1 kB / 1.377 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001236/0.4304, allocations: 176.3 kB / 1.377 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.784e-05/0.4305, allocations: 180.2 kB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.4307, allocations: 311.7 kB / 1.378 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.4308, allocations: 120.8 kB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.4309, allocations: 184.2 kB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.431, allocations: 101 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.4311, allocations: 188.2 kB / 1.379 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.4311, allocations: 105 kB / 1.379 GB, free: 14.13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.828e-05/0.4312, allocations: 97.14 kB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4312, allocations: 0 / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009756/0.4322, allocations: 295 kB / 1.379 GB, free: 13.75 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.00132/0.4335, allocations: 0.5518 MB / 1.38 GB, free: 13.19 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.4337, allocations: 41.64 kB / 1.38 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/0.4337, allocations: 4 kB / 1.38 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.4337, allocations: 352 / 1.38 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.4341, allocations: 463.7 kB / 1.38 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.4346, allocations: 244.5 kB / 1.38 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.971e-05/0.4346, allocations: 71.64 kB / 1.38 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.4346, allocations: 4 kB / 1.38 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.4347, allocations: 7.438 kB / 1.38 GB, free: 12.31 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/0.4347, allocations: 0 / 1.38 GB, free: 12.31 MB / 1.076 GB Notification: Performance of Templates: time 0.0122/0.4469, allocations: 5.926 MB / 1.386 GB, free: 6.441 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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: 10.133182298392057]