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.0009103/0.0009103, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.0009499/0.0009499, allocations: 168.2 kB / 24.87 MB, free: 8.891 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.9402/0.9402, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 1.689/1.689, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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 1.904e-06/1.904e-06, allocations: 0 / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.812e-05, allocations: 7.156 kB / 0.7884 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002789/0.002817, allocations: 1.487 MB / 0.7899 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004309/0.007126, allocations: 2.735 MB / 0.7925 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.007169, allocations: 0 / 0.7925 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.007194, allocations: 7.922 kB / 0.7925 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.007258, allocations: 11.86 kB / 0.7925 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003778/0.01104, allocations: 1.625 MB / 0.7941 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.918e-05/0.01112, allocations: 47.67 kB / 0.7942 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.01116, allocations: 0.8438 kB / 0.7942 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.0112, allocations: 19.98 kB / 0.7942 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.676e-05/0.01123, allocations: 18.14 kB / 0.7942 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.01124, allocations: 0 / 0.7942 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.0136, allocations: 1.458 MB / 0.7956 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.01361, allocations: 3.938 kB / 0.7956 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.01364, allocations: 8 kB / 0.7957 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.01533, allocations: 1.261 MB / 0.7969 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01534, allocations: 0 / 0.7969 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01534, allocations: 3.938 kB / 0.7969 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.01534, allocations: 0 / 0.7969 GB, free: 3.449 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.0006146/0.01595, allocations: 0.5569 MB / 0.7974 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.01599, allocations: 8.031 kB / 0.7974 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.01605, allocations: 128.1 kB / 0.7976 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.01618, allocations: 245.2 kB / 0.7978 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-05/0.01625, allocations: 238.8 kB / 0.798 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.01632, allocations: 242.8 kB / 0.7983 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.314e-05/0.01638, allocations: 145.5 kB / 0.7984 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.01641, allocations: 119.9 kB / 0.7985 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.01648, allocations: 246.5 kB / 0.7987 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-05/0.01654, allocations: 238.9 kB / 0.799 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.287e-05/0.0166, allocations: 246.9 kB / 0.7992 GB, free: 1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.01687, allocations: 0.5622 MB / 0.7998 GB, free: 424 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.351e-05/0.01697, allocations: 261.4 kB / 0.8 GB, free: 148 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.017, allocations: 130.9 kB / 0.8001 GB, free: 12 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.01705, allocations: 119.2 kB / 0.8002 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.01711, allocations: 161.2 kB / 0.8004 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 2.585e-06/0.01711, allocations: 1.062 kB / 0.8004 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 6.834e-05/0.01718, allocations: 29.69 kB / 0.8004 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.01724, allocations: 174.6 kB / 0.8006 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.01736, allocations: 199.7 kB / 0.8008 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.01738, allocations: 25.7 kB / 0.8008 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.01743, allocations: 138.9 kB / 0.8009 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-06/0.01743, allocations: 0 / 0.8009 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.01747, allocations: 27.34 kB / 0.801 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.01761, allocations: 0.4884 MB / 0.8014 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.01762, allocations: 0 / 0.8014 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.217e-05/0.01764, allocations: 4 kB / 0.8014 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.564e-05/0.01767, allocations: 23.64 kB / 0.8015 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01767, allocations: 0 / 0.8015 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001067/0.01778, allocations: 41.66 kB / 0.8015 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.01779, allocations: 4.875 kB / 0.8015 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.01781, allocations: 4 kB / 0.8015 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.01782, allocations: 1.062 kB / 0.8015 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.01782, allocations: 0 / 0.8015 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.01782, allocations: 3.938 kB / 0.8015 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.01785, allocations: 13.02 kB / 0.8015 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.01786, allocations: 0 / 0.8015 GB, free: 14.49 MB / 0.7605 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.0001003/0.01796, allocations: 276.9 kB / 0.8018 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.01803, allocations: 160.7 kB / 0.802 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/0.01809, allocations: 156.7 kB / 0.8021 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.928e-05/0.01816, allocations: 269.1 kB / 0.8024 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-05/0.01822, allocations: 268.1 kB / 0.8026 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002034/0.01843, allocations: 272 kB / 0.8029 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.01864, allocations: 489.1 kB / 0.8033 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-05/0.01868, allocations: 154.4 kB / 0.8035 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.01872, allocations: 152.8 kB / 0.8036 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.496e-05/0.0188, allocations: 268.1 kB / 0.8039 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/0.01887, allocations: 268.1 kB / 0.8041 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.584e-05/0.01893, allocations: 272.9 kB / 0.8044 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-05/0.019, allocations: 268.1 kB / 0.8047 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.01915, allocations: 447.9 kB / 0.8051 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.0192, allocations: 149.9 kB / 0.8052 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/0.01928, allocations: 280 kB / 0.8055 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.301e-05/0.01936, allocations: 144.9 kB / 0.8056 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.01944, allocations: 272.1 kB / 0.8059 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.01947, allocations: 148.9 kB / 0.806 GB, free: 9.695 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 5.813e-05/0.01953, allocations: 137.5 kB / 0.8062 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1e-07/0.01953, allocations: 0 / 0.8062 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007817/0.02031, allocations: 295 kB / 0.8064 GB, free: 9.273 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.001065/0.02138, allocations: 0.6206 MB / 0.8071 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 9.112e-05/0.02147, allocations: 49.33 kB / 0.8071 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.02147, allocations: 0 / 0.8071 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.02147, allocations: 0 / 0.8071 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.02192, allocations: 0.7179 MB / 0.8078 GB, free: 7.863 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.02221, allocations: 273.2 kB / 0.8081 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.02225, allocations: 55.34 kB / 0.8081 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.02227, allocations: 8.062 kB / 0.8081 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.02232, allocations: 74.2 kB / 0.8082 GB, free: 7.41 MB / 0.7605 GB Notification: Performance of SimCode: time 8.11e-07/0.02232, allocations: 0 / 0.8082 GB, free: 7.41 MB / 0.7605 GB Notification: Performance of Templates: time 0.01314/0.03546, allocations: 7.163 MB / 0.8152 GB, free: 308 kB / 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.922939413227141]