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.001109/0.001109, allocations: 81.55 kB / 19.87 MB, free: 4.617 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.001619/0.001619, allocations: 169 kB / 23.28 MB, free: 1.215 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 0.9524/0.9524, allocations: 177.1 MB / 203.7 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.364/2.364, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] 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.614e-06/1.614e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.382e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001593/0.001607, allocations: 1.492 MB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002794/0.004401, allocations: 2.739 MB / 0.894 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.458e-05/0.004436, allocations: 0 / 0.894 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.004456, allocations: 7.922 kB / 0.894 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-05/0.004506, allocations: 11.92 kB / 0.894 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.006621, allocations: 1.618 MB / 0.8956 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.729e-05/0.006679, allocations: 35.69 kB / 0.8956 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.826e-05/0.006707, allocations: 11.92 kB / 0.8956 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.082e-05/0.006738, allocations: 15.98 kB / 0.8956 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 1.804e-05/0.006756, allocations: 15.94 kB / 0.8956 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.006766, allocations: 4 kB / 0.8956 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.008015, allocations: 1.458 MB / 0.8971 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.008027, allocations: 3.938 kB / 0.8971 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.529e-05/0.008043, allocations: 8 kB / 0.8971 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009705/0.009013, allocations: 1.262 MB / 0.8983 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.009015, allocations: 0 / 0.8983 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.81e-07/0.009016, allocations: 0 / 0.8983 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.009019, allocations: 3.938 kB / 0.8983 GB, free: 0.9336 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.0003664/0.009385, allocations: 0.5567 MB / 0.8989 GB, free: 348 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.009417, allocations: 8.625 kB / 0.8989 GB, free: 340 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.009461, allocations: 128.1 kB / 0.899 GB, free: 212 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.97e-05/0.00956, allocations: 239.7 kB / 0.8992 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.009605, allocations: 238.8 kB / 0.8995 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.009652, allocations: 250.7 kB / 0.8997 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.376e-05/0.009706, allocations: 149.4 kB / 0.8998 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.009732, allocations: 119.4 kB / 0.8999 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.00978, allocations: 246.5 kB / 0.9002 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.009828, allocations: 238.4 kB / 0.9004 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.063e-05/0.009879, allocations: 242.4 kB / 0.9006 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.01008, allocations: 0.5608 MB / 0.9012 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.728e-05/0.01016, allocations: 273.4 kB / 0.9014 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.01019, allocations: 126.9 kB / 0.9016 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.01021, allocations: 119.2 kB / 0.9017 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.01025, allocations: 156.6 kB / 0.9018 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.01025, allocations: 0 / 0.9018 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 5.868e-05/0.01031, allocations: 33.66 kB / 0.9019 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.01036, allocations: 178.5 kB / 0.902 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.01045, allocations: 188.2 kB / 0.9022 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.01046, allocations: 25.7 kB / 0.9022 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.0105, allocations: 154.8 kB / 0.9024 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.0105, allocations: 0 / 0.9024 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.01053, allocations: 23.36 kB / 0.9024 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.01063, allocations: 0.4884 MB / 0.9029 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.01064, allocations: 0 / 0.9029 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.01065, allocations: 4 kB / 0.9029 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.01067, allocations: 15.67 kB / 0.9029 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01067, allocations: 0 / 0.9029 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.086e-05/0.01074, allocations: 45.62 kB / 0.9029 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.01075, allocations: 4 kB / 0.903 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.01077, allocations: 4 kB / 0.903 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.01078, allocations: 4.062 kB / 0.903 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-06/0.01078, allocations: 0 / 0.903 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.01078, allocations: 7.922 kB / 0.903 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.545e-05/0.0108, allocations: 11.89 kB / 0.903 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.0108, allocations: 0 / 0.903 GB, free: 11.95 MB / 0.8698 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 7.054e-05/0.01087, allocations: 271.8 kB / 0.9032 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.01092, allocations: 152.9 kB / 0.9034 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.01096, allocations: 168.6 kB / 0.9035 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.038e-05/0.01101, allocations: 264.1 kB / 0.9038 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.955e-05/0.01106, allocations: 264.1 kB / 0.904 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.492e-05/0.01112, allocations: 280 kB / 0.9043 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.01126, allocations: 484.5 kB / 0.9048 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.099e-05/0.01129, allocations: 152.8 kB / 0.9049 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.01132, allocations: 152.9 kB / 0.9051 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.145e-05/0.01138, allocations: 264.1 kB / 0.9053 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.01143, allocations: 268 kB / 0.9056 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.014e-05/0.01148, allocations: 272.1 kB / 0.9058 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.132e-05/0.01153, allocations: 268 kB / 0.9061 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.01164, allocations: 455.8 kB / 0.9065 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.01167, allocations: 152.8 kB / 0.9067 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.01173, allocations: 268.1 kB / 0.9069 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.01178, allocations: 152.8 kB / 0.9071 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.01184, allocations: 272.1 kB / 0.9073 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.01187, allocations: 152.8 kB / 0.9075 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.84e-05/0.0119, allocations: 140.9 kB / 0.9076 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.0119, allocations: 0 / 0.9076 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003841/0.01229, allocations: 295 kB / 0.9079 GB, free: 6.723 MB / 0.8698 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.0006306/0.01292, allocations: 0.6253 MB / 0.9085 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.484e-05/0.01298, allocations: 45.38 kB / 0.9085 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01298, allocations: 0 / 0.9085 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.01299, allocations: 0 / 0.9085 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.01328, allocations: 0.714 MB / 0.9092 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002047/0.01349, allocations: 285.2 kB / 0.9095 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.541e-05/0.01351, allocations: 55.42 kB / 0.9096 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.757e-06/0.01352, allocations: 0 / 0.9096 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.01356, allocations: 78.19 kB / 0.9096 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of SimCode: time 5.01e-07/0.01356, allocations: 4 kB / 0.9096 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of Templates: time 0.007732/0.02129, allocations: 7.165 MB / 0.9166 GB, free: 13.74 MB / 0.8855 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.361303764395416]