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.InternalResistancesTwoUTubeNegative.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.002434/0.002434, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.003056/0.003056, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.612/1.612, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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 3.501/3.501, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8775 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.531e-05/3.727e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003619/0.003656, allocations: 1.48 MB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0056/0.009256, allocations: 2.83 MB / 0.8818 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.009326, allocations: 0 / 0.8818 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.009354, allocations: 5 kB / 0.8818 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.009455, allocations: 15.84 kB / 0.8818 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.004921/0.01438, allocations: 1.663 MB / 0.8834 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.0145, allocations: 43.67 kB / 0.8834 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.01454, allocations: 4 kB / 0.8834 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.408e-05/0.01459, allocations: 19.92 kB / 0.8835 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.744e-05/0.01463, allocations: 15.98 kB / 0.8835 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.01465, allocations: 0 / 0.8835 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.01748, allocations: 1.497 MB / 0.8849 GB, free: 15 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.01749, allocations: 3.938 kB / 0.8849 GB, free: 15 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.01752, allocations: 8 kB / 0.885 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.02025, allocations: 1.282 MB / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.02026, allocations: 0 / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.663e-06/0.02026, allocations: 0 / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.02027, allocations: 0 / 0.8862 GB, free: 13.71 MB / 0.8542 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.0008977/0.02116, allocations: 0.5644 MB / 0.8868 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.02121, allocations: 8.031 kB / 0.8868 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.02135, allocations: 128.1 kB / 0.8869 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.02161, allocations: 246.1 kB / 0.8871 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.02177, allocations: 238.8 kB / 0.8873 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.02193, allocations: 242.8 kB / 0.8876 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.02205, allocations: 145.5 kB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-05/0.02212, allocations: 119.4 kB / 0.8878 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.02227, allocations: 246.5 kB / 0.8881 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.0224, allocations: 238.4 kB / 0.8883 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.02254, allocations: 246.3 kB / 0.8885 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.02305, allocations: 0.5837 MB / 0.8891 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.02326, allocations: 261.4 kB / 0.8893 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/0.02334, allocations: 134.9 kB / 0.8895 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.029e-05/0.02341, allocations: 119.2 kB / 0.8896 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.02353, allocations: 156.5 kB / 0.8897 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.02353, allocations: 0 / 0.8897 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001094/0.02364, allocations: 33.66 kB / 0.8898 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.02376, allocations: 174.5 kB / 0.8899 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.02399, allocations: 193.8 kB / 0.8901 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.02401, allocations: 29.7 kB / 0.8902 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.02412, allocations: 142.8 kB / 0.8903 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.02412, allocations: 0 / 0.8903 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.02418, allocations: 27.38 kB / 0.8903 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002838/0.02447, allocations: 0.4884 MB / 0.8908 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.02449, allocations: 8 kB / 0.8908 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/0.02452, allocations: 8 kB / 0.8908 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.02457, allocations: 23.56 kB / 0.8908 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.02457, allocations: 0 / 0.8908 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001663/0.02474, allocations: 49.69 kB / 0.8909 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.02475, allocations: 4 kB / 0.8909 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/0.02478, allocations: 4 kB / 0.8909 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.0248, allocations: 0 / 0.8909 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-06/0.0248, allocations: 8 kB / 0.8909 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.02481, allocations: 4.062 kB / 0.8909 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.02484, allocations: 3.953 kB / 0.8909 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.02485, allocations: 4 kB / 0.8909 GB, free: 8.676 MB / 0.8542 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.0002174/0.02506, allocations: 271.8 kB / 0.8912 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.02521, allocations: 164.8 kB / 0.8913 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.02533, allocations: 152.7 kB / 0.8915 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001604/0.02549, allocations: 268 kB / 0.8917 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001575/0.02564, allocations: 268 kB / 0.892 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005319/0.02618, allocations: 268.1 kB / 0.8922 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.0266, allocations: 0.5037 MB / 0.8927 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-05/0.02669, allocations: 149 kB / 0.8929 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.0268, allocations: 152.8 kB / 0.893 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/0.02698, allocations: 268.1 kB / 0.8933 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.02717, allocations: 264.1 kB / 0.8935 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001701/0.02734, allocations: 276 kB / 0.8938 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001557/0.02749, allocations: 268.1 kB / 0.894 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.0278, allocations: 443.9 kB / 0.8945 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.02791, allocations: 156.8 kB / 0.8946 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.02809, allocations: 272 kB / 0.8949 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.02823, allocations: 148.9 kB / 0.895 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.02839, allocations: 272 kB / 0.8953 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.92e-05/0.02848, allocations: 148.9 kB / 0.8954 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001195/0.0286, allocations: 149.5 kB / 0.8956 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0286, allocations: 0 / 0.8956 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001123/0.02972, allocations: 299 kB / 0.8958 GB, free: 3.418 MB / 0.8542 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.001433/0.03116, allocations: 0.6299 MB / 0.8965 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.03131, allocations: 45.33 kB / 0.8965 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.03131, allocations: 4 kB / 0.8965 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.119e-06/0.03132, allocations: 4 kB / 0.8965 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.032, allocations: 0.7062 MB / 0.8972 GB, free: 2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.03248, allocations: 285 kB / 0.8975 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.356e-05/0.03256, allocations: 71.41 kB / 0.8975 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.467e-05/0.03257, allocations: 0 / 0.8975 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.0326, allocations: 12.44 kB / 0.8975 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.0326, allocations: 4 kB / 0.8976 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of Templates: time 0.01345/0.04605, allocations: 5.99 MB / 0.9034 GB, free: 11.66 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.231516442028806]