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.InternalResistancesOneUTubeNegative.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.002129/0.002129, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002742/0.002742, allocations: 165.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.532/1.532, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.844/2.844, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.7865 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.044e-05/4.303e-05, allocations: 9.203 kB / 0.7865 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.004942/0.004985, allocations: 1.445 MB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007618/0.0126, allocations: 2.637 MB / 0.7905 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.01267, allocations: 0 / 0.7905 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.01271, allocations: 7.922 kB / 0.7905 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.708e-05/0.01281, allocations: 16.52 kB / 0.7905 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006354/0.01916, allocations: 1.609 MB / 0.7921 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.01931, allocations: 40.38 kB / 0.7921 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.01936, allocations: 7.984 kB / 0.7921 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.01942, allocations: 16.58 kB / 0.7921 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.966e-05/0.01946, allocations: 11.94 kB / 0.7921 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.01948, allocations: 1.094 kB / 0.7921 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003688/0.02317, allocations: 1.459 MB / 0.7936 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.02319, allocations: 4.812 kB / 0.7936 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.02324, allocations: 11.94 kB / 0.7936 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002788/0.02602, allocations: 1.239 MB / 0.7948 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.02603, allocations: 0.9375 kB / 0.7948 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.443e-06/0.02603, allocations: 0 / 0.7948 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.02604, allocations: 5.219 kB / 0.7948 GB, free: 4.234 MB / 0.7448 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.001/0.02704, allocations: 464 kB / 0.7952 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7e-05/0.02711, allocations: 12.03 kB / 0.7952 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.02722, allocations: 81.06 kB / 0.7953 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.02749, allocations: 204.9 kB / 0.7955 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.02761, allocations: 154.9 kB / 0.7957 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.02773, allocations: 153.2 kB / 0.7958 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.02785, allocations: 105.5 kB / 0.7959 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.236e-05/0.02791, allocations: 75.47 kB / 0.796 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.02804, allocations: 158.6 kB / 0.7961 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.02815, allocations: 150.6 kB / 0.7963 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.02827, allocations: 153.5 kB / 0.7964 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.02879, allocations: 425.5 kB / 0.7968 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.02896, allocations: 169.2 kB / 0.797 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.02925, allocations: 80.14 kB / 0.7971 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.018e-05/0.02932, allocations: 79.28 kB / 0.7971 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.02942, allocations: 109.8 kB / 0.7972 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.02942, allocations: 0 / 0.7972 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001206/0.02954, allocations: 33.64 kB / 0.7973 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.02967, allocations: 132.1 kB / 0.7974 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.02991, allocations: 139.6 kB / 0.7975 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.02994, allocations: 25.7 kB / 0.7976 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.03004, allocations: 96.12 kB / 0.7977 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.03004, allocations: 0.625 kB / 0.7977 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.0301, allocations: 14.69 kB / 0.7977 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002555/0.03035, allocations: 314.8 kB / 0.798 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/0.03039, allocations: 7.984 kB / 0.798 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.771e-05/0.03042, allocations: 8.5 kB / 0.798 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.395e-05/0.03047, allocations: 9.5 kB / 0.798 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.03048, allocations: 0 / 0.798 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002285/0.0307, allocations: 58.98 kB / 0.798 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.03072, allocations: 4 kB / 0.7981 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.03075, allocations: 4 kB / 0.7981 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.03077, allocations: 5.062 kB / 0.7981 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.03078, allocations: 0 / 0.7981 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.03078, allocations: 0 / 0.7981 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.728e-05/0.03082, allocations: 5.047 kB / 0.7981 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.03083, allocations: 4 kB / 0.7981 GB, free: 0.6992 MB / 0.7448 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.0001822/0.03101, allocations: 181.1 kB / 0.7982 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.03114, allocations: 109.6 kB / 0.7983 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.03125, allocations: 122 kB / 0.7985 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001463/0.0314, allocations: 180.2 kB / 0.7986 GB, free: 92 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001658/0.03156, allocations: 180.2 kB / 0.7988 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001413/0.03171, allocations: 180.3 kB / 0.799 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.03209, allocations: 368.6 kB / 0.7993 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.211e-05/0.03219, allocations: 112.8 kB / 0.7994 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.03226, allocations: 101 kB / 0.7995 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.0324, allocations: 180.2 kB / 0.7997 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.03252, allocations: 180.3 kB / 0.7999 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001341/0.03266, allocations: 176.3 kB / 0.8 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001401/0.0328, allocations: 200.2 kB / 0.8002 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.03305, allocations: 303.8 kB / 0.8005 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.03315, allocations: 108.9 kB / 0.8006 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.03331, allocations: 184.2 kB / 0.8008 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.03348, allocations: 110.2 kB / 0.8009 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.03363, allocations: 180.2 kB / 0.8011 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/0.03372, allocations: 106 kB / 0.8012 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001122/0.03383, allocations: 97.45 kB / 0.8013 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/0.03383, allocations: 0 / 0.8013 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001239/0.03507, allocations: 292.1 kB / 0.8016 GB, free: 12.95 MB / 0.7605 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.001846/0.03692, allocations: 0.5805 MB / 0.8021 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.03706, allocations: 37.7 kB / 0.8022 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.03706, allocations: 0 / 0.8022 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.03706, allocations: 0 / 0.8022 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007884/0.03785, allocations: 471.6 kB / 0.8026 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.03837, allocations: 223.7 kB / 0.8028 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.82e-05/0.03847, allocations: 63.34 kB / 0.8029 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.03849, allocations: 4.062 kB / 0.8029 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.03853, allocations: 12.5 kB / 0.8029 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of SimCode: time 4.01e-07/0.03853, allocations: 0 / 0.8029 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of Templates: time 0.01793/0.05645, allocations: 5.783 MB / 0.8085 GB, free: 5.789 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x [Calling sys.exit(0), Time elapsed: 8.498566166963428]