Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001865/0.001865, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002192/0.002192, allocations: 209.7 kB / 23 MB, free: 4.934 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.316/3.316, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_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_12_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.003016/0.003016, allocations: 66.55 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4541, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003195/0.4573, allocations: 1.449 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004909/0.4622, allocations: 2.685 MB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.233e-05/0.4623, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.4623, allocations: 7.922 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.4624, allocations: 11.86 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.4673, allocations: 1.649 MB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.4674, allocations: 43.73 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.4675, allocations: 3.938 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.396e-05/0.4675, allocations: 15.92 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.4675, allocations: 19.92 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.4675, allocations: 8 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.4704, allocations: 1.587 MB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.4704, allocations: 11.94 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.4705, allocations: 11.94 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.4723, allocations: 1.109 MB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4723, allocations: 0 / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.677e-06/0.4723, allocations: 0 / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.4723, allocations: 0 / 1.336 GB, free: 8.305 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008677/0.4732, allocations: 472 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.4733, allocations: 16.02 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.05e-05/0.4733, allocations: 88.17 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.4735, allocations: 189.7 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.445e-05/0.4736, allocations: 158.9 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.4737, allocations: 150.9 kB / 1.337 GB, free: 7.195 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.213e-05/0.4738, allocations: 105.1 kB / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/0.4738, allocations: 75.28 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.887e-05/0.4739, allocations: 154.6 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.788e-05/0.474, allocations: 154.5 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.289e-05/0.474, allocations: 150.6 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.4744, allocations: 417.5 kB / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.4746, allocations: 177.1 kB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.4746, allocations: 80.14 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.355e-05/0.4747, allocations: 75.28 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.567e-05/0.4747, allocations: 109.8 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.4747, allocations: 0 / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.601e-05/0.4748, allocations: 37.53 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.4749, allocations: 51.45 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.4751, allocations: 143.8 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.4751, allocations: 25.7 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.4752, allocations: 100.1 kB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.4752, allocations: 4 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.4752, allocations: 13.72 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4754, allocations: 322.8 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.748e-05/0.4754, allocations: 4 kB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.59e-05/0.4754, allocations: 8 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.4755, allocations: 12.86 kB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4755, allocations: 0 / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001617/0.4756, allocations: 53.62 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4756, allocations: 11.88 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.4757, allocations: 4 kB / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4757, allocations: 64 / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.4757, allocations: 4 kB / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4757, allocations: 0 / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.4757, allocations: 3.953 kB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.4757, allocations: 4 kB / 1.339 GB, free: 4.816 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 (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.00014/0.4759, allocations: 185.1 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-05/0.4759, allocations: 116.9 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.061e-05/0.476, allocations: 112.7 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.463e-05/0.4761, allocations: 176.3 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.808e-05/0.4762, allocations: 108.9 kB / 1.339 GB, free: 4.086 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.4763, allocations: 109 kB / 1.34 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.4764, allocations: 180.3 kB / 1.34 GB, free: 3.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.4765, allocations: 108.9 kB / 1.34 GB, free: 3.676 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/0.4766, allocations: 180.2 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001473/0.4767, allocations: 255.5 kB / 1.34 GB, free: 3.234 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002524/0.477, allocations: 391 kB / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.396e-05/0.477, allocations: 104.9 kB / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.625e-05/0.4771, allocations: 104.8 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of Backend: time 5.51e-07/0.4771, allocations: 0 / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.4791, allocations: 0.5268 MB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008783/0.48, allocations: 0.9212 MB / 1.342 GB, free: 1.102 MB / 1.029 GB Notification: Performance of Templates: time 0.01301/0.493, allocations: 6.7 MB / 1.349 GB, free: 10.45 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.21469942999829]