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.002593/0.002593, allocations: 88.05 kB / 19.44 MB, free: 320 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.002781/0.002781, allocations: 169.3 kB / 22.76 MB, free: 1.645 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.673/1.673, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.514/3.514, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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.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 1.833e-06/1.833e-06, allocations: 0 / 0.8775 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.182e-05/4.365e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003403/0.003446, allocations: 1.467 MB / 0.879 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006037/0.009483, allocations: 2.776 MB / 0.8817 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.009534, allocations: 0 / 0.8817 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.009562, allocations: 9.016 kB / 0.8817 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.375e-05/0.009645, allocations: 15.8 kB / 0.8817 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.004585/0.01423, allocations: 1.628 MB / 0.8833 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.01435, allocations: 43.73 kB / 0.8834 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.0144, allocations: 0 / 0.8834 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.425e-05/0.01446, allocations: 23.91 kB / 0.8834 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.01451, allocations: 12 kB / 0.8834 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.01452, allocations: 0 / 0.8834 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.01724, allocations: 1.466 MB / 0.8848 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.01726, allocations: 4 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.01729, allocations: 11.94 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.0193, allocations: 1.243 MB / 0.886 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.01931, allocations: 0 / 0.886 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01931, allocations: 0 / 0.886 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.01931, allocations: 0 / 0.886 GB, free: 13.87 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.0007685/0.02008, allocations: 0.5605 MB / 0.8866 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.02012, allocations: 8.031 kB / 0.8866 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.02023, allocations: 128.1 kB / 0.8867 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.02046, allocations: 251.7 kB / 0.887 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.0206, allocations: 242.8 kB / 0.8872 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.02075, allocations: 238.8 kB / 0.8874 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.02087, allocations: 145.5 kB / 0.8876 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.299e-05/0.02094, allocations: 119.4 kB / 0.8877 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.02108, allocations: 246.5 kB / 0.8879 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.02122, allocations: 238.4 kB / 0.8881 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.02137, allocations: 242.3 kB / 0.8884 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/0.02209, allocations: 0.5798 MB / 0.8889 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.02229, allocations: 269.4 kB / 0.8892 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.858e-05/0.02236, allocations: 134.9 kB / 0.8893 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.808e-05/0.02243, allocations: 119.2 kB / 0.8894 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.02254, allocations: 160.5 kB / 0.8896 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.02254, allocations: 0 / 0.8896 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 8.485e-05/0.02262, allocations: 29.66 kB / 0.8896 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.02274, allocations: 178.5 kB / 0.8898 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.02295, allocations: 189.9 kB / 0.89 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.02297, allocations: 25.7 kB / 0.89 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.02308, allocations: 138.8 kB / 0.8901 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.02308, allocations: 0 / 0.8901 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.02313, allocations: 27.38 kB / 0.8901 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002935/0.02342, allocations: 0.4884 MB / 0.8906 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.02344, allocations: 8 kB / 0.8906 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.02346, allocations: 4 kB / 0.8906 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.0235, allocations: 15.62 kB / 0.8907 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.02351, allocations: 0 / 0.8907 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000156/0.02366, allocations: 53.64 kB / 0.8907 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.02368, allocations: 6.5 kB / 0.8907 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.0237, allocations: 11.98 kB / 0.8907 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.02372, allocations: 0 / 0.8907 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-06/0.02372, allocations: 3.938 kB / 0.8907 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.02373, allocations: 4.062 kB / 0.8907 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.02375, allocations: 0 / 0.8907 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.02376, allocations: 4 kB / 0.8907 GB, free: 8.848 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.0001996/0.02395, allocations: 279.8 kB / 0.891 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.02407, allocations: 156.8 kB / 0.8911 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.02418, allocations: 160.7 kB / 0.8913 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001475/0.02433, allocations: 268 kB / 0.8916 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001477/0.02448, allocations: 268 kB / 0.8918 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001471/0.02462, allocations: 268.1 kB / 0.8921 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.025, allocations: 0.4998 MB / 0.8926 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001139/0.02511, allocations: 153 kB / 0.8927 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.028e-05/0.0252, allocations: 152.9 kB / 0.8928 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/0.02536, allocations: 268.1 kB / 0.8931 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.02552, allocations: 268.1 kB / 0.8934 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001435/0.02567, allocations: 268 kB / 0.8936 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001658/0.02583, allocations: 268.1 kB / 0.8939 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.02614, allocations: 455.9 kB / 0.8943 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.02623, allocations: 152.8 kB / 0.8945 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.0264, allocations: 272 kB / 0.8947 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.02652, allocations: 144.9 kB / 0.8948 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.02668, allocations: 276 kB / 0.8951 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.48e-05/0.02678, allocations: 152.9 kB / 0.8953 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001017/0.02688, allocations: 139.2 kB / 0.8954 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02688, allocations: 3.938 kB / 0.8954 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000833/0.02771, allocations: 287 kB / 0.8957 GB, free: 3.59 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.001603/0.02932, allocations: 0.6096 MB / 0.8963 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.02945, allocations: 49.33 kB / 0.8963 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02945, allocations: 4.062 kB / 0.8963 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.02945, allocations: 3.938 kB / 0.8963 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/0.03013, allocations: 0.7179 MB / 0.897 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.03054, allocations: 269.1 kB / 0.8973 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.082e-05/0.03062, allocations: 75.23 kB / 0.8973 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.27e-05/0.03064, allocations: 0 / 0.8973 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.03066, allocations: 16.5 kB / 0.8974 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.03066, allocations: 0 / 0.8974 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of Templates: time 0.01255/0.04321, allocations: 5.815 MB / 0.903 GB, free: 12.02 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] 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: 9.3317338390043]