Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001782/0.001782, allocations: 81.5 kB / 19.18 MB, free: 2.531 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.001887/0.001887, allocations: 172 kB / 22.46 MB, free: 5.355 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.93/2.93, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 1 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.439e-05/3.659e-05, allocations: 6.219 kB / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002974/0.003011, allocations: 1.447 MB / 1.002 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005303/0.008313, allocations: 2.63 MB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.008363, allocations: 8 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.008395, allocations: 3.938 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.782e-05/0.008473, allocations: 15.84 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004961/0.01343, allocations: 1.624 MB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.01356, allocations: 43.67 kB / 1.006 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.01361, allocations: 7.906 kB / 1.006 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.01366, allocations: 15.98 kB / 1.006 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.519e-05/0.01369, allocations: 15.92 kB / 1.006 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.01371, allocations: 4 kB / 1.006 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.01611, allocations: 1.458 MB / 1.007 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.01612, allocations: 4 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.01616, allocations: 11.83 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.01797, allocations: 1.239 MB / 1.009 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01798, allocations: 0 / 1.009 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01798, allocations: 0 / 1.009 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.01799, allocations: 0 / 1.009 GB, free: 14.68 MB / 0.9669 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.0006958/0.01869, allocations: 469.9 kB / 1.009 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.01872, allocations: 8.031 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.319e-05/0.01881, allocations: 84.17 kB / 1.009 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.019, allocations: 202.8 kB / 1.009 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.233e-05/0.01909, allocations: 150.9 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.01918, allocations: 154.9 kB / 1.01 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.01927, allocations: 105.5 kB / 1.01 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.01932, allocations: 75.47 kB / 1.01 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.741e-05/0.01939, allocations: 154.7 kB / 1.01 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.174e-05/0.01948, allocations: 150.6 kB / 1.01 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.257e-05/0.01956, allocations: 158.5 kB / 1.01 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.01991, allocations: 409.6 kB / 1.011 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.02005, allocations: 173.1 kB / 1.011 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.02011, allocations: 92.12 kB / 1.011 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.02016, allocations: 79.28 kB / 1.011 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.316e-05/0.02022, allocations: 105.8 kB / 1.011 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.02022, allocations: 3.938 kB / 1.011 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.277e-05/0.02031, allocations: 33.66 kB / 1.011 GB, free: 12 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.02041, allocations: 130.6 kB / 1.011 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.02059, allocations: 125.8 kB / 1.011 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.02061, allocations: 33.64 kB / 1.011 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.02068, allocations: 92.12 kB / 1.011 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.02069, allocations: 0 / 1.011 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.02073, allocations: 21.7 kB / 1.011 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.02092, allocations: 318.8 kB / 1.012 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.02094, allocations: 0 / 1.012 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.02096, allocations: 11.98 kB / 1.012 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/0.02101, allocations: 12.86 kB / 1.012 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.02101, allocations: 0 / 1.012 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001494/0.02116, allocations: 45.66 kB / 1.012 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.02117, allocations: 5.562 kB / 1.012 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.0212, allocations: 7.984 kB / 1.012 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.02122, allocations: 3.938 kB / 1.012 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.118e-06/0.02122, allocations: 3.938 kB / 1.012 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.02123, allocations: 0 / 1.012 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.02125, allocations: 8.062 kB / 1.012 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.02126, allocations: 0 / 1.012 GB, free: 11.14 MB / 0.9669 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.0001401/0.0214, allocations: 189.1 kB / 1.012 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.991e-05/0.02148, allocations: 104.9 kB / 1.012 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.453e-05/0.02156, allocations: 116.8 kB / 1.012 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001093/0.02167, allocations: 184.2 kB / 1.012 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001006/0.02177, allocations: 184.2 kB / 1.013 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.843e-05/0.02187, allocations: 180.2 kB / 1.013 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.02215, allocations: 364.9 kB / 1.013 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.123e-05/0.02221, allocations: 101 kB / 1.013 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.02228, allocations: 112.9 kB / 1.013 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.245e-05/0.02237, allocations: 184.2 kB / 1.013 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.877e-05/0.02247, allocations: 180.2 kB / 1.014 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.042e-05/0.02256, allocations: 180.3 kB / 1.014 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001176/0.02268, allocations: 196.2 kB / 1.014 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.02285, allocations: 303.8 kB / 1.014 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.02293, allocations: 108.9 kB / 1.014 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.02304, allocations: 176.3 kB / 1.015 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.02317, allocations: 116.9 kB / 1.015 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.02328, allocations: 180.2 kB / 1.015 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.02334, allocations: 101.3 kB / 1.015 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.549e-05/0.02342, allocations: 105.1 kB / 1.015 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02342, allocations: 0 / 1.015 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008237/0.02424, allocations: 291 kB / 1.015 GB, free: 7.379 MB / 0.9669 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.001171/0.02542, allocations: 0.582 MB / 1.016 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.02553, allocations: 33.7 kB / 1.016 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.02553, allocations: 0 / 1.016 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-06/0.02554, allocations: 8.062 kB / 1.016 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.02604, allocations: 459.7 kB / 1.016 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.02641, allocations: 224 kB / 1.017 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.02649, allocations: 63.34 kB / 1.017 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.02651, allocations: 4 kB / 1.017 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.02652, allocations: 8.5 kB / 1.017 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.02652, allocations: 4 kB / 1.017 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of Templates: time 0.01157/0.0381, allocations: 5.73 MB / 1.022 GB, free: 272 kB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.851500272750854]