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.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 195.8 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 67.91 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7769, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002839/0.7798, allocations: 1.514 MB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004628/0.7844, allocations: 3.029 MB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.7845, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.7846, allocations: 3.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.7847, allocations: 15.86 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003799/0.7885, allocations: 1.402 MB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.393e-05/0.7886, allocations: 43.73 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.7886, allocations: 11.97 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.7886, allocations: 11.94 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.079e-05/0.7887, allocations: 23.86 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.7887, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.7911, allocations: 1.455 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.7911, allocations: 15.97 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.7911, allocations: 15.88 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.793, allocations: 1.129 MB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.793, allocations: 4 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.91e-07/0.7931, allocations: 0 / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.7931, allocations: 0 / 1.025 GB, free: 10.09 MB / 0.7794 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.0007804/0.7939, allocations: 0.5146 MB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.7939, allocations: 11.97 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.794, allocations: 84.12 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.7941, allocations: 257.8 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.957e-05/0.7942, allocations: 154.9 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.7943, allocations: 154.9 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.869e-05/0.7943, allocations: 113.1 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.7944, allocations: 75.28 kB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/0.7944, allocations: 150.6 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.001e-05/0.7945, allocations: 150.6 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.024e-05/0.7945, allocations: 154.6 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.7948, allocations: 465.9 kB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.685e-05/0.7949, allocations: 165.1 kB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.795, allocations: 84.14 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.795, allocations: 79.28 kB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.795, allocations: 113.8 kB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.7951, allocations: 0 / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.345e-05/0.7951, allocations: 41.55 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.7952, allocations: 126.7 kB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.7953, allocations: 125.8 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.7954, allocations: 25.7 kB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.7954, allocations: 100 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.7954, allocations: 0 / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.7955, allocations: 21.7 kB / 1.028 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7956, allocations: 314.8 kB / 1.028 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.7956, allocations: 4 kB / 1.028 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.7956, allocations: 7.984 kB / 1.028 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.7957, allocations: 16.86 kB / 1.028 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7957, allocations: 0 / 1.028 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001308/0.7958, allocations: 53.58 kB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7959, allocations: 9.625 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.7959, allocations: 7.938 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.7959, allocations: 64 / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-06/0.7959, allocations: 7.984 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.7959, allocations: 0 / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.796, allocations: 7.844 kB / 1.029 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.796, allocations: 4 kB / 1.029 GB, free: 6.316 MB / 0.7794 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.0001041/0.7961, allocations: 181.1 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.7961, allocations: 112.9 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.7962, allocations: 112.8 kB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.532e-05/0.7963, allocations: 184.2 kB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.587e-05/0.7963, allocations: 184.2 kB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.634e-05/0.7964, allocations: 176.3 kB / 1.029 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.7966, allocations: 421.2 kB / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-05/0.7967, allocations: 108.9 kB / 1.03 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.7967, allocations: 105 kB / 1.03 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.911e-05/0.7968, allocations: 180.2 kB / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.7969, allocations: 180.3 kB / 1.03 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-05/0.7969, allocations: 176.3 kB / 1.031 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.219e-05/0.797, allocations: 188.2 kB / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.7971, allocations: 315.9 kB / 1.031 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.7972, allocations: 185.9 kB / 1.031 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.295e-05/0.7973, allocations: 180.3 kB / 1.031 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.273e-05/0.7974, allocations: 116.9 kB / 1.032 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.7975, allocations: 180.3 kB / 1.032 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.7975, allocations: 104.9 kB / 1.032 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.7976, allocations: 95.27 kB / 1.032 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7976, allocations: 0 / 1.032 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008444/0.7984, allocations: 287.8 kB / 1.032 GB, free: 2.398 MB / 0.7794 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.001397/0.7998, allocations: 0.537 MB / 1.033 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.7999, allocations: 41.69 kB / 1.033 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8, allocations: 4 kB / 1.033 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.8, allocations: 0 / 1.033 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.8004, allocations: 0.5302 MB / 1.033 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.8008, allocations: 245.7 kB / 1.033 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.801, allocations: 0.6848 MB / 1.034 GB, free: 292 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.801, allocations: 0 / 1.034 GB, free: 292 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.269e-05/0.8011, allocations: 11.44 kB / 1.034 GB, free: 280 kB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.8011, allocations: 0 / 1.034 GB, free: 280 kB / 0.7794 GB Notification: Performance of Templates: time 0.01054/0.8116, allocations: 5.688 MB / 1.04 GB, free: 10.64 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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