Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001576, allocations: 110.4 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.899/2.899, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3802, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002779/0.3831, allocations: 1.451 MB / 1.177 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004683/0.3878, allocations: 2.899 MB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.3879, allocations: 0 / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.3879, allocations: 7.922 kB / 1.18 GB, free: 1.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.388, allocations: 7.875 kB / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.392, allocations: 1.603 MB / 1.182 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.3921, allocations: 47.67 kB / 1.182 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.3922, allocations: 4 kB / 1.182 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.192e-05/0.3922, allocations: 15.94 kB / 1.182 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.3922, allocations: 19.86 kB / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.3923, allocations: 0 / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.3945, allocations: 1.533 MB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.3945, allocations: 4 kB / 1.183 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.3946, allocations: 19.86 kB / 1.183 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.3961, allocations: 1.118 MB / 1.184 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3961, allocations: 7.938 kB / 1.184 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3961, allocations: 0 / 1.184 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3961, allocations: 4 kB / 1.184 GB, free: 13.11 MB / 0.9356 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.0006568/0.3968, allocations: 0.5208 MB / 1.185 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3968, allocations: 12.03 kB / 1.185 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.3969, allocations: 80.17 kB / 1.185 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.3971, allocations: 247.6 kB / 1.185 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/0.3972, allocations: 162.9 kB / 1.185 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.3973, allocations: 158.9 kB / 1.186 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.446e-05/0.3973, allocations: 105.1 kB / 1.186 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.3974, allocations: 75.28 kB / 1.186 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-05/0.3975, allocations: 150.6 kB / 1.186 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.698e-05/0.3975, allocations: 150.6 kB / 1.186 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.3976, allocations: 158.5 kB / 1.186 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.398, allocations: 461.9 kB / 1.187 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3981, allocations: 169.1 kB / 1.187 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.3981, allocations: 84.14 kB / 1.187 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.3982, allocations: 79.28 kB / 1.187 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.213e-05/0.3982, allocations: 109.8 kB / 1.187 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.3982, allocations: 3.938 kB / 1.187 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.028e-05/0.3983, allocations: 33.66 kB / 1.187 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.3984, allocations: 126.7 kB / 1.187 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.3986, allocations: 136.2 kB / 1.187 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3986, allocations: 25.7 kB / 1.187 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.3987, allocations: 96.09 kB / 1.187 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.3987, allocations: 0 / 1.187 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.3987, allocations: 17.72 kB / 1.187 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3989, allocations: 326.9 kB / 1.188 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.3989, allocations: 4 kB / 1.188 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.3989, allocations: 4 kB / 1.188 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.399, allocations: 20.73 kB / 1.188 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.399, allocations: 0 / 1.188 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001229/0.3991, allocations: 57.66 kB / 1.188 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3991, allocations: 4 kB / 1.188 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.3992, allocations: 4 kB / 1.188 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3992, allocations: 64 / 1.188 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.535e-06/0.3992, allocations: 4 kB / 1.188 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3992, allocations: 0 / 1.188 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.3992, allocations: 11.89 kB / 1.188 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3992, allocations: 0 / 1.188 GB, free: 9.34 MB / 0.9356 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.0001081/0.3993, allocations: 185.8 kB / 1.188 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.654e-05/0.3994, allocations: 124.8 kB / 1.188 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.3995, allocations: 108.9 kB / 1.188 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-05/0.3996, allocations: 176.3 kB / 1.188 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.901e-05/0.3997, allocations: 184.1 kB / 1.189 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.836e-05/0.3998, allocations: 180.2 kB / 1.189 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.4, allocations: 421.2 kB / 1.189 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.394e-05/0.4001, allocations: 104.9 kB / 1.189 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.4001, allocations: 101 kB / 1.189 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-05/0.4002, allocations: 188.2 kB / 1.19 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-05/0.4003, allocations: 176.3 kB / 1.19 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.891e-05/0.4004, allocations: 184.2 kB / 1.19 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.039e-05/0.4005, allocations: 180.3 kB / 1.19 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.4006, allocations: 315.7 kB / 1.19 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.4007, allocations: 186 kB / 1.191 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.4009, allocations: 188.2 kB / 1.191 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.4009, allocations: 105 kB / 1.191 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.401, allocations: 180.2 kB / 1.191 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.4011, allocations: 105 kB / 1.191 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.328e-05/0.4012, allocations: 105.3 kB / 1.191 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4012, allocations: 0 / 1.191 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006776/0.4018, allocations: 283 kB / 1.192 GB, free: 5.414 MB / 0.9356 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.001098/0.403, allocations: 0.5441 MB / 1.192 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.4031, allocations: 38.05 kB / 1.192 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4031, allocations: 0 / 1.192 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.4031, allocations: 3.938 kB / 1.192 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.4036, allocations: 471.7 kB / 1.193 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.4039, allocations: 257.6 kB / 1.193 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.4043, allocations: 0.6846 MB / 1.193 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.4043, allocations: 15.38 kB / 1.193 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.4043, allocations: 4 kB / 1.193 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of Templates: time 0.008172/0.4125, allocations: 4.749 MB / 1.198 GB, free: 14.59 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.464579374995083]