Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001764/0.001764, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002223/0.002223, allocations: 199 kB / 22.17 MB, free: 5.211 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.585/1.585, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 1.109 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.83/0.832, allocations: 168.7 MB / 1.274 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002991/0.835, allocations: 1.46 MB / 1.276 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00521/0.8402, allocations: 2.935 MB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.8403, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.8403, allocations: 7.922 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.206e-05/0.8404, allocations: 11.86 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004154/0.8445, allocations: 1.597 MB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.8446, allocations: 43.73 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.8447, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.045e-05/0.8447, allocations: 15.94 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.491e-05/0.8447, allocations: 19.86 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.8447, allocations: 4 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.8474, allocations: 1.576 MB / 1.282 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.8474, allocations: 11.92 kB / 1.282 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.8475, allocations: 19.81 kB / 1.282 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.8492, allocations: 1.118 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8492, allocations: 0 / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8492, allocations: 0 / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.8492, allocations: 4 kB / 1.283 GB, free: 11.69 MB / 0.9825 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.0007574/0.85, allocations: 0.5247 MB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.85, allocations: 8.031 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.8501, allocations: 84.17 kB / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.8503, allocations: 259.5 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-05/0.8504, allocations: 154.9 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.8504, allocations: 154.9 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.183e-05/0.8505, allocations: 109.1 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.8506, allocations: 79.22 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.042e-05/0.8506, allocations: 150.6 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.571e-05/0.8507, allocations: 150.6 kB / 1.284 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.777e-05/0.8508, allocations: 154.6 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.8512, allocations: 469.9 kB / 1.285 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.8513, allocations: 165.1 kB / 1.285 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.8514, allocations: 88.08 kB / 1.285 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.8514, allocations: 75.28 kB / 1.285 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.83e-05/0.8515, allocations: 121.8 kB / 1.285 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.8515, allocations: 0 / 1.285 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.451e-05/0.8516, allocations: 25.7 kB / 1.285 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.8517, allocations: 130.7 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.8519, allocations: 135.8 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.8519, allocations: 25.7 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.852, allocations: 88.14 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.852, allocations: 0 / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.852, allocations: 25.7 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.8522, allocations: 318.8 kB / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.553e-05/0.8522, allocations: 3.938 kB / 1.286 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.8522, allocations: 8.078 kB / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.029e-05/0.8523, allocations: 24.8 kB / 1.286 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8523, allocations: 0 / 1.286 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001384/0.8524, allocations: 49.59 kB / 1.286 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.8524, allocations: 8 kB / 1.286 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.8525, allocations: 8.062 kB / 1.286 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.8525, allocations: 0 / 1.286 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.546e-06/0.8525, allocations: 3.984 kB / 1.286 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8525, allocations: 0 / 1.286 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.8525, allocations: 3.938 kB / 1.286 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.8525, allocations: 0 / 1.286 GB, free: 7.914 MB / 0.9825 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.0001361/0.8527, allocations: 197.5 kB / 1.286 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.8527, allocations: 116.9 kB / 1.286 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.285e-05/0.8528, allocations: 108.9 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001099/0.8529, allocations: 184.2 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001025/0.853, allocations: 180.3 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.553e-05/0.8531, allocations: 184.2 kB / 1.287 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.8535, allocations: 409.2 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.949e-05/0.8535, allocations: 112.9 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.872e-05/0.8536, allocations: 104.9 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.8537, allocations: 176.3 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.8538, allocations: 188.2 kB / 1.288 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001055/0.8539, allocations: 180.3 kB / 1.288 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001012/0.854, allocations: 176.3 kB / 1.288 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.8542, allocations: 315.7 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.8544, allocations: 190 kB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.8545, allocations: 176.3 kB / 1.289 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.8546, allocations: 109 kB / 1.289 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.8547, allocations: 188.2 kB / 1.289 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.09e-05/0.8548, allocations: 101 kB / 1.289 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.386e-05/0.8549, allocations: 105 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8549, allocations: 0 / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001071/0.8559, allocations: 287 kB / 1.29 GB, free: 3.988 MB / 0.9825 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.001243/0.8572, allocations: 0.5363 MB / 1.29 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.8573, allocations: 45.62 kB / 1.29 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8573, allocations: 0 / 1.29 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.739e-06/0.8573, allocations: 4 kB / 1.29 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.8578, allocations: 459.7 kB / 1.291 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.8582, allocations: 259.9 kB / 1.291 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.8589, allocations: 0.6807 MB / 1.292 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.714e-05/0.8589, allocations: 3.984 kB / 1.292 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.8589, allocations: 11.44 kB / 1.292 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8589, allocations: 0 / 1.292 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of Templates: time 0.01179/0.8707, allocations: 5.648 MB / 1.297 GB, free: 12.33 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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] "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x [Calling sys.exit(0), Time elapsed: 9.077517284080386]