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.001505/0.001505, allocations: 88.72 kB / 19.44 MB, free: 356 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.001595/0.001595, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.515/1.515, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.272/3.272, allocations: 429.6 MB / 0.673 GB, free: 3.91 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.723e-06/1.723e-06, allocations: 0 / 0.8777 GB, free: 5.297 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.117e-05, allocations: 6.812 kB / 0.8777 GB, free: 5.289 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002856/0.002887, allocations: 1.432 MB / 0.8791 GB, free: 3.871 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005201/0.008088, allocations: 2.643 MB / 0.8817 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.00812, allocations: 0 / 0.8817 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.008143, allocations: 0 / 0.8817 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.008222, allocations: 24.31 kB / 0.8817 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004304/0.01253, allocations: 1.613 MB / 0.8833 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.602e-05/0.01262, allocations: 43.67 kB / 0.8833 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.01267, allocations: 7.984 kB / 0.8833 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.01271, allocations: 15.92 kB / 0.8833 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.229e-05/0.01274, allocations: 11.98 kB / 0.8833 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.01276, allocations: 0 / 0.8833 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.01532, allocations: 1.462 MB / 0.8848 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.01533, allocations: 3.984 kB / 0.8848 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.01538, allocations: 19.94 kB / 0.8848 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.01727, allocations: 1.245 MB / 0.886 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.01727, allocations: 0 / 0.886 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.028e-06/0.01728, allocations: 4 kB / 0.886 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.01728, allocations: 0 / 0.886 GB, free: 12.79 MB / 0.8073 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.000753/0.01804, allocations: 464 kB / 0.8865 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.01807, allocations: 12.03 kB / 0.8865 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.575e-05/0.01816, allocations: 80.17 kB / 0.8865 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.01837, allocations: 200.9 kB / 0.8867 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-05/0.01847, allocations: 154.9 kB / 0.8869 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.938e-05/0.01856, allocations: 150.9 kB / 0.887 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.817e-05/0.01866, allocations: 109.5 kB / 0.8871 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.01871, allocations: 75.47 kB / 0.8872 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.825e-05/0.0188, allocations: 158.6 kB / 0.8874 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-05/0.01889, allocations: 150.6 kB / 0.8875 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.01898, allocations: 150.6 kB / 0.8876 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.01937, allocations: 417.6 kB / 0.888 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.01949, allocations: 165.2 kB / 0.8882 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.01955, allocations: 84.14 kB / 0.8883 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.666e-05/0.01959, allocations: 79.22 kB / 0.8884 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.116e-05/0.01967, allocations: 117.8 kB / 0.8885 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 3.126e-06/0.01968, allocations: 4 kB / 0.8885 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 9.535e-05/0.01977, allocations: 33.66 kB / 0.8885 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.01986, allocations: 130.6 kB / 0.8886 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.02003, allocations: 129.7 kB / 0.8888 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.02005, allocations: 25.7 kB / 0.8888 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.02012, allocations: 92.14 kB / 0.8889 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.02013, allocations: 0 / 0.8889 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.02016, allocations: 21.64 kB / 0.8889 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.02035, allocations: 314.8 kB / 0.8892 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.02037, allocations: 4 kB / 0.8892 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.02039, allocations: 11.94 kB / 0.8892 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/0.02044, allocations: 16.88 kB / 0.8892 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.02044, allocations: 0 / 0.8892 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001574/0.0206, allocations: 49.66 kB / 0.8893 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.02061, allocations: 5.875 kB / 0.8893 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.02064, allocations: 4 kB / 0.8893 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.02066, allocations: 3.938 kB / 0.8893 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.417e-06/0.02066, allocations: 3.984 kB / 0.8893 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.02066, allocations: 0 / 0.8893 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.02069, allocations: 0 / 0.8893 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.02069, allocations: 4 kB / 0.8893 GB, free: 9.258 MB / 0.8073 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.000149/0.02084, allocations: 189.1 kB / 0.8895 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-05/0.02093, allocations: 108.9 kB / 0.8896 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.443e-05/0.02101, allocations: 112.8 kB / 0.8897 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001106/0.02112, allocations: 188.1 kB / 0.8899 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001109/0.02123, allocations: 176.3 kB / 0.89 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/0.02135, allocations: 184.2 kB / 0.8902 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.02164, allocations: 364.9 kB / 0.8906 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-05/0.0217, allocations: 101 kB / 0.8906 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/0.02177, allocations: 108.9 kB / 0.8908 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.02188, allocations: 176.3 kB / 0.8909 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.02198, allocations: 184.2 kB / 0.8911 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.422e-05/0.02208, allocations: 180.3 kB / 0.8913 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001165/0.02219, allocations: 184.2 kB / 0.8914 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.02242, allocations: 315.8 kB / 0.8917 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.0225, allocations: 112.9 kB / 0.8919 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.02261, allocations: 176.3 kB / 0.892 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.02272, allocations: 105.3 kB / 0.8921 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.02284, allocations: 192.1 kB / 0.8923 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/0.0229, allocations: 101 kB / 0.8924 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.996e-05/0.02298, allocations: 95.27 kB / 0.8925 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02298, allocations: 0 / 0.8925 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008498/0.02383, allocations: 298.9 kB / 0.8928 GB, free: 5.492 MB / 0.8073 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.001257/0.02509, allocations: 0.5769 MB / 0.8933 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.02521, allocations: 41.64 kB / 0.8934 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02522, allocations: 0 / 0.8934 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.02522, allocations: 0 / 0.8934 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.02575, allocations: 466.3 kB / 0.8938 GB, free: 4.402 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.02617, allocations: 239.6 kB / 0.8941 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.001e-05/0.02625, allocations: 67.2 kB / 0.8941 GB, free: 4.055 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.34e-05/0.02626, allocations: 0 / 0.8941 GB, free: 4.055 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.02629, allocations: 12.5 kB / 0.8941 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of SimCode: time 4.11e-07/0.02629, allocations: 0 / 0.8941 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of Templates: time 0.01172/0.03801, allocations: 5.789 MB / 0.8998 GB, free: 14.31 MB / 0.823 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.714933076058514]